summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <gkodinov/kgeorge@magare.gmz>2007-07-31 14:42:56 +0300
committerunknown <gkodinov/kgeorge@magare.gmz>2007-07-31 14:42:56 +0300
commitfe6fa48c18c8acf03b89525e2e8b4ca6f324e1ff (patch)
treebc20ad164f29a3869e0873776077bc8d6ea36cc2
parent817a05a61cf93a310ae960ff1ff068510b77293b (diff)
downloadmariadb-git-fe6fa48c18c8acf03b89525e2e8b4ca6f324e1ff.tar.gz
addendum for the fix for bug 27417:
extend the assert so it will run the testsuite
-rw-r--r--sql/sql_update.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/sql_update.cc b/sql/sql_update.cc
index e20647dc808..c78e246f518 100644
--- a/sql/sql_update.cc
+++ b/sql/sql_update.cc
@@ -1333,7 +1333,8 @@ multi_update::~multi_update()
if (copy_field)
delete [] copy_field;
thd->count_cuted_fields= CHECK_FIELD_IGNORE; // Restore this setting
- DBUG_ASSERT(trans_safe || thd->transaction.all.modified_non_trans_table);
+ DBUG_ASSERT(trans_safe || !updated ||
+ thd->transaction.all.modified_non_trans_table);
}