summaryrefslogtreecommitdiff
path: root/sql/sql_update.cc
diff options
context:
space:
mode:
authorHe Zhenxing <zhenxing.he@sun.com>2009-03-05 18:10:44 +0800
committerHe Zhenxing <zhenxing.he@sun.com>2009-03-05 18:10:44 +0800
commit52a07e9b745b5657e8fbd0c521291db8c26e66f2 (patch)
treec6ec33b757dfff8d69335ab97419c2842f1f61cb /sql/sql_update.cc
parent6ac6c9ed4880224a3dc1f631c3d78b9b1acfc41b (diff)
downloadmariadb-git-52a07e9b745b5657e8fbd0c521291db8c26e66f2.tar.gz
BUG#37051 Replication rules not evaluated correctly
Backporting patch to 5.0.
Diffstat (limited to 'sql/sql_update.cc')
-rw-r--r--sql/sql_update.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_update.cc b/sql/sql_update.cc
index f15db220a3b..8a3f5bcdc26 100644
--- a/sql/sql_update.cc
+++ b/sql/sql_update.cc
@@ -775,7 +775,7 @@ reopen_tables:
DBUG_RETURN(TRUE);
}
- tables_for_update= get_table_map(fields);
+ thd->table_map_for_update= tables_for_update= get_table_map(fields);
/*
Setup timestamp handling and locking mode