… of range what could be stored in the column) it truncates the value, performs index lookup, scanning all rows (just 3… need to enable strict mode: mysql> set sql_mode=STRICT_ALL_TABLES; Query OK, 0 rows affected (0.00 sec) mysql> insert into article… adjusted for column ‘article_id’ at row 1 Note however strict mode should not be taken lightly – it is good for…
Post: Ultimate MySQL variable and status reference list
…MySQL manual…data_pending_readsblogpercona.commanual Innodb_data_pending_writesblogpercona.commanual Innodb_data_readblogpercona.commanual Innodb_data_readsblogpercona.commanual Innodb_data_writesblogpercona.commanual Innodb_data… innodb_strict_modeblogpercona….commanual Innodb_truncated_status_…
Comment: MySQL automatic data truncation can backfire
… right this is the problem and this is why MySQL 5.0 gets strict mode. If you however look at general pictures… to MySQL most of MySQL user base loading some dirty data to MySQL would rather like it to be truncated int the case when unexpected data…, and they usually only started using MySQL in the recent years – this is where we get Strict mode and similar changes from.

