summaryrefslogtreecommitdiff
path: root/sql/sql_insert.cc
diff options
context:
space:
mode:
authorunknown <guilhem@mysql.com>2003-12-02 16:49:46 +0100
committerunknown <guilhem@mysql.com>2003-12-02 16:49:46 +0100
commitb9418600bf5d9ed110af1fe41f19c157b8f5dc8f (patch)
treeb06a91197610421f8c0cd51aaa933e2c7a37be61 /sql/sql_insert.cc
parentf0bc11177de9160ecfc0086ec9373537f7b47830 (diff)
downloadmariadb-git-b9418600bf5d9ed110af1fe41f19c157b8f5dc8f.tar.gz
There is no reason that Intvar_log_event's constructor calls Log_event::Log_event()
instead of Log_event::Log_event(THD*, ...) when the event is built in the master to be written in the binlog. Rand_log_event already used the good constructor, so there really is no reason for Intvar_log_event to be an exception. This fixes a test failure of last night (which appeared after I removed a useless e.server_id=thd->server_id in log.cc; in fact this line was not useless because it hid the bad constructor). Replication tests pass, with Valgrind too. sql/log_event.h: There is no reason that Intvar_log_event's constructor calls Log_event::Log_event() instead of Log_event::Log_event(THD*, ...) when the event is built in the master to be written in the binlog. Rand_log_event already used the good constructor, so there really is no reason for Intvar_log_event to be an exception. This fixes a test failure of last night (which appeared after I removed a useless e.server_id=thd->server_id in log.cc; in fact this line was not useless because it hid the bad constructor).
Diffstat (limited to 'sql/sql_insert.cc')
0 files changed, 0 insertions, 0 deletions