diff options
author | unknown <guilhem@mysql.com> | 2003-12-01 14:59:35 +0100 |
---|---|---|
committer | unknown <guilhem@mysql.com> | 2003-12-01 14:59:35 +0100 |
commit | 8764ca94c958e5556b4fd0125ea1cf41f8b7af6c (patch) | |
tree | 303512a07fb53ff00d656006ebd433da39e5eaec /sql/log.cc | |
parent | 40c951a01e49f39e6782fc09965a88cb3a4755e7 (diff) | |
download | mariadb-git-8764ca94c958e5556b4fd0125ea1cf41f8b7af6c.tar.gz |
Removing unneeded code: the Intvar_log_event constructor calls the Log_event constructor
which does e.server_id=thd.server_id.
sql/log.cc:
unneeded: the Intvar_log_event constructor calls the Log_event constructor
which does e.server_id=thd.server_id.
Diffstat (limited to 'sql/log.cc')
-rw-r--r-- | sql/log.cc | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sql/log.cc b/sql/log.cc index 33ca82aa14f..e6eaa3b802c 100644 --- a/sql/log.cc +++ b/sql/log.cc @@ -1110,8 +1110,6 @@ bool MYSQL_LOG::write(Log_event* event_info) Intvar_log_event e(thd,(uchar) LAST_INSERT_ID_EVENT, thd->current_insert_id); e.set_log_pos(this); - if (thd->server_id) - e.server_id = thd->server_id; if (e.write(file)) goto err; } @@ -1119,8 +1117,6 @@ bool MYSQL_LOG::write(Log_event* event_info) { Intvar_log_event e(thd,(uchar) INSERT_ID_EVENT,thd->last_insert_id); e.set_log_pos(this); - if (thd->server_id) - e.server_id = thd->server_id; if (e.write(file)) goto err; } |