After some time, trying to kill this error, I directly tested the SQL query:
UPDATE noticias SET
data_destaque_ini='2013-12-03', data_destaque_fim='',
fotoDestaque_x=-3, fotoDestaque_y=-102,
fotoDestaque_escala=154, destacar=1
WHERE idNoticia=3
But it fotoDestaque_escalaretains the same meaning as before: 127. Hum, this is a round number, right? Therefore, even without any sql error message, I opened the structure and that it: the column was set to TINYINT(from 127 to 127), and changing it to SMALLINTsolved the problem.
But, thinking about the future, I am alarmed by this behavior of MySQL: I passed too much value to the column, MySQL saved what was possible, cut everything else and said nothing about - the client remains in the dark!
So, is there a way to configure or detect, somehow, an overflow? If not, I'm going to do a php level test in my library ...