diff options
author | mskold@mysql.com <> | 2004-11-28 22:28:36 +0100 |
---|---|---|
committer | mskold@mysql.com <> | 2004-11-28 22:28:36 +0100 |
commit | 065184dac371180cd1da39e993e09b99ce5c2ef1 (patch) | |
tree | 3f49d173331a34d3370c6bb19e1507b62acc3252 /sql/sql_update.cc | |
parent | 989721d12f6c2a6b724c9010912be4b6d04a1ccb (diff) | |
download | mariadb-git-065184dac371180cd1da39e993e09b99ce5c2ef1.tar.gz |
Fix for Bug #6794 Wrong outcome of update operation of ndb table
Diffstat (limited to 'sql/sql_update.cc')
-rw-r--r-- | sql/sql_update.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/sql_update.cc b/sql/sql_update.cc index d3597f274dc..7bcf9440bec 100644 --- a/sql/sql_update.cc +++ b/sql/sql_update.cc @@ -110,7 +110,8 @@ int mysql_update(THD *thd, #ifndef NO_EMBEDDED_ACCESS_CHECKS table->grant.want_privilege=want_privilege; #endif - if (setup_fields(thd, 0, update_table_list, fields, 1, 0, 0)) + if (setup_fields(thd, 0, update_table_list, fields, 1, 0, 0) || + setup_fields(thd, 0, update_table_list, values, 1, 0, 0)) DBUG_RETURN(-1); /* purecov: inspected */ if (table->timestamp_field) { |