summaryrefslogtreecommitdiff
path: root/sql/set_var.cc
diff options
context:
space:
mode:
authorunknown <gluh@mysql.com>2006-06-28 14:23:33 +0500
committerunknown <gluh@mysql.com>2006-06-28 14:23:33 +0500
commitb5f89708eb9b8ecc8fb74a37875b7880fd535fdc (patch)
treecea5fe7e7170a2ca68f254c0bcc61161d0d3b233 /sql/set_var.cc
parenta4c95a18b83a593a5dbc528179721062c7c8b4cd (diff)
parente832964174c43c6edb5603ab372223c964145a98 (diff)
downloadmariadb-git-b5f89708eb9b8ecc8fb74a37875b7880fd535fdc.tar.gz
Merge sgluhov@bk-internal.mysql.com:/home/bk/mysql-5.0
into mysql.com:/home/gluh/MySQL/Merge/5.0-kt sql/set_var.cc: Auto merged sql/sql_parse.cc: Auto merged
Diffstat (limited to 'sql/set_var.cc')
-rw-r--r--sql/set_var.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/set_var.cc b/sql/set_var.cc
index aa58f7d41fc..1cb3878ac70 100644
--- a/sql/set_var.cc
+++ b/sql/set_var.cc
@@ -2578,7 +2578,7 @@ bool sys_var_insert_id::update(THD *thd, set_var *var)
byte *sys_var_insert_id::value_ptr(THD *thd, enum_var_type type,
LEX_STRING *base)
{
- return (byte*) &thd->current_insert_id;
+ return (byte*) &thd->next_insert_id;
}