mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge host.loc:/home/uchum/work/5.1-opt-33699
into host.loc:/home/uchum/work/5.1-opt
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