diff options
author | guilhem@mysql.com <> | 2003-04-02 00:15:20 +0200 |
---|---|---|
committer | guilhem@mysql.com <> | 2003-04-02 00:15:20 +0200 |
commit | 654410a3d3d1d5d2bfe4be60ab8f1fbcfa211d19 (patch) | |
tree | bb10c16185835ad671982d8e96e1f97b44d9ba97 /sql/sql_update.cc | |
parent | 5eaa59541eb23930a22bd73aac40fba587300135 (diff) | |
download | mariadb-git-654410a3d3d1d5d2bfe4be60ab8f1fbcfa211d19.tar.gz |
Deprecated the update log (Sprint task #792). Now --log-update
just turns on --log-bin and prints a warning. SQL_LOG_UPDATE
is handled in two ways (see mysqld.cc for comments).
Diffstat (limited to 'sql/sql_update.cc')
-rw-r--r-- | sql/sql_update.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sql/sql_update.cc b/sql/sql_update.cc index ec1183819dc..b96ddded8d1 100644 --- a/sql/sql_update.cc +++ b/sql/sql_update.cc @@ -323,7 +323,6 @@ int mysql_update(THD *thd, log_delayed= (transactional_table || table->tmp_table); if (updated && (error <= 0 || !transactional_table)) { - mysql_update_log.write(thd,thd->query,thd->query_length); if (mysql_bin_log.is_open()) { Query_log_event qinfo(thd, thd->query, thd->query_length, @@ -932,7 +931,6 @@ bool multi_update::send_eof() if (updated && (local_error <= 0 || !trans_safe)) { - mysql_update_log.write(thd,thd->query,thd->query_length); if (mysql_bin_log.is_open()) { Query_log_event qinfo(thd, thd->query, thd->query_length, |