summaryrefslogtreecommitdiff
path: root/sql/set_var.cc
diff options
context:
space:
mode:
authorunknown <msvensson@neptunus.(none)>2006-10-03 20:28:59 +0200
committerunknown <msvensson@neptunus.(none)>2006-10-03 20:28:59 +0200
commit9cd171e2dc8743f96c710039e7348426e9bff045 (patch)
treecf5c75ae32d43145e6aabe382f84c222a2328a7d /sql/set_var.cc
parent1535da6592ed6e0ca63a06c46a123a77b30879b3 (diff)
parent48759d7ae9522b2dc03d058c33e8b45471263fc3 (diff)
downloadmariadb-git-9cd171e2dc8743f96c710039e7348426e9bff045.tar.gz
Merge bk-internal:/home/bk/mysql-5.0
into neptunus.(none):/home/msvensson/mysql/mysql-5.0-maint sql/item_func.cc: Auto merged sql/log.cc: Auto merged sql/set_var.cc: Auto merged sql/sql_class.h: Auto merged
Diffstat (limited to 'sql/set_var.cc')
-rw-r--r--sql/set_var.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/set_var.cc b/sql/set_var.cc
index 3dadc632911..d0268d7017b 100644
--- a/sql/set_var.cc
+++ b/sql/set_var.cc
@@ -2579,6 +2579,7 @@ byte *sys_var_last_insert_id::value_ptr(THD *thd, enum_var_type type,
of the previous statement in THD::current_insert_id.
*/
thd->last_insert_id_used= TRUE;
+ thd->last_insert_id_used_bin_log= TRUE;
thd->current_insert_id= thd->last_insert_id;
}
return (byte*) &thd->current_insert_id;