diff options
author | monty@mashka.mysql.fi <> | 2002-08-08 03:29:36 +0300 |
---|---|---|
committer | monty@mashka.mysql.fi <> | 2002-08-08 03:29:36 +0300 |
commit | 1bb7665a9c4405439b89dfc2c621d22f5275beec (patch) | |
tree | da5d29e4a08217e2773b16c5aef05ab734c760e4 /sql/sql_update.cc | |
parent | a4b77125fd05de4a00b0d648649014fa1bb2d4bb (diff) | |
parent | 2c4fa340cccbf11dc7b7f944cf7ca30af48edf4f (diff) | |
download | mariadb-git-1bb7665a9c4405439b89dfc2c621d22f5275beec.tar.gz |
merge
Diffstat (limited to 'sql/sql_update.cc')
-rw-r--r-- | sql/sql_update.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sql/sql_update.cc b/sql/sql_update.cc index a1a18560a9f..b5df0e03823 100644 --- a/sql/sql_update.cc +++ b/sql/sql_update.cc @@ -307,7 +307,8 @@ int mysql_update(THD *thd, mysql_update_log.write(thd,thd->query,thd->query_length); if (mysql_bin_log.is_open()) { - Query_log_event qinfo(thd, thd->query, using_transactions); + Query_log_event qinfo(thd, thd->query, thd->query_length, + using_transactions); if (mysql_bin_log.write(&qinfo) && using_transactions) error=1; } @@ -789,7 +790,7 @@ bool multi_update::send_eof() if (updated || not_trans_safe) { mysql_update_log.write(thd,thd->query,thd->query_length); - Query_log_event qinfo(thd, thd->query); + Query_log_event qinfo(thd, thd->query, thd->query_length); /* mysql_bin_log is not open if binlogging or replication |