diff options
author | unknown <gkodinov/kgeorge@magare.gmz> | 2007-07-31 14:42:56 +0300 |
---|---|---|
committer | unknown <gkodinov/kgeorge@magare.gmz> | 2007-07-31 14:42:56 +0300 |
commit | fe6fa48c18c8acf03b89525e2e8b4ca6f324e1ff (patch) | |
tree | bc20ad164f29a3869e0873776077bc8d6ea36cc2 | |
parent | 817a05a61cf93a310ae960ff1ff068510b77293b (diff) | |
download | mariadb-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.cc | 3 |
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); } |