mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Merge host.loc:/home/uchum/work/5.1-opt-33699
into host.loc:/home/uchum/work/5.1-opt mysql-test/extra/rpl_tests/rpl_extraMaster_Col.test: Auto merged sql/sql_update.cc: Auto merged mysql-test/suite/rpl/r/rpl_extraColmaster_innodb.result: Merge with local tree (bug#33699). mysql-test/suite/rpl/r/rpl_extraColmaster_myisam.result: Merge with local tree (bug#33699).
This commit is contained in:
@@ -526,7 +526,9 @@ int mysql_update(THD *thd,
|
||||
init_read_record(&info,thd,table,select,0,1);
|
||||
|
||||
updated= found= 0;
|
||||
thd->count_cuted_fields= CHECK_FIELD_WARN; /* calc cuted fields */
|
||||
/* Generate an error when trying to set a NOT NULL field to NULL. */
|
||||
thd->count_cuted_fields= ignore ? CHECK_FIELD_WARN
|
||||
: CHECK_FIELD_ERROR_FOR_NULL;
|
||||
thd->cuted_fields=0L;
|
||||
thd->proc_info="Updating";
|
||||
|
||||
|
Reference in New Issue
Block a user