summaryrefslogtreecommitdiff
path: root/sql/log.cc
diff options
context:
space:
mode:
authorsasha@mysql.sashanet.com <>2001-06-21 16:15:00 -0600
committersasha@mysql.sashanet.com <>2001-06-21 16:15:00 -0600
commitb86ffcef9a046e179af6dbc61fca5b4d549e343c (patch)
tree23328c5b7144436a44f8c85ec21eeeb58d330413 /sql/log.cc
parentb531e0018c7c59fe54064d6ad1edef347c2850ac (diff)
parent1e76c806eb348c6fc6b56824c22f312821017f1e (diff)
downloadmariadb-git-b86ffcef9a046e179af6dbc61fca5b4d549e343c.tar.gz
merge
Diffstat (limited to 'sql/log.cc')
-rw-r--r--sql/log.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/log.cc b/sql/log.cc
index 5ee3120a991..f1cb1b4d50c 100644
--- a/sql/log.cc
+++ b/sql/log.cc
@@ -688,6 +688,8 @@ bool MYSQL_LOG::write(Query_log_event* event_info)
{
Intvar_log_event e((uchar)LAST_INSERT_ID_EVENT, thd->last_insert_id);
e.set_log_seq(thd, this);
+ if(thd->server_id)
+ e.server_id = thd->server_id;
if (e.write(file))
goto err;
}