1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

Fix for Bug #6794 Wrong outcome of update operation of ndb table

This commit is contained in:
unknown
2004-11-28 22:28:36 +01:00
parent 5607539c5b
commit f0af808fcc
3 changed files with 36 additions and 1 deletions

View File

@@ -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)
{