diff options
author | unknown <lars@mysql.com> | 2004-11-03 18:23:58 +0100 |
---|---|---|
committer | unknown <lars@mysql.com> | 2004-11-03 18:23:58 +0100 |
commit | 539e2130b02b09581586ab1b1efd7ece8ef3ef4d (patch) | |
tree | 6e88240a0871cb06a9567374c0df685347e20d8e /sql/sql_table.cc | |
parent | 78c4faa297539c95c33c69d00dfb5e129c2afcca (diff) | |
download | mariadb-git-539e2130b02b09581586ab1b1efd7ece8ef3ef4d.tar.gz |
Fix for bug#5551 (Version 4).
The idea of the fix is that the administrative statements
OPTIMIZE TABLE, REPAIR TABLE and ANALYZE TABLE should not
generate binlog errors if there is no errors on the master.
sql/sql_parse.cc:
No binlog error generated
sql/sql_table.cc:
Documentation
BitKeeper/etc/logging_ok:
Logging to logging@openlogging.org accepted
Diffstat (limited to 'sql/sql_table.cc')
-rw-r--r-- | sql/sql_table.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sql/sql_table.cc b/sql/sql_table.cc index 2f7a5f32d01..c69235a5647 100644 --- a/sql/sql_table.cc +++ b/sql/sql_table.cc @@ -1734,6 +1734,12 @@ end: } +/* + RETURN VALUES + 0 Message sent to net (admin operation went ok) + -1 Message should be sent by caller + (admin operation or network communication failed) +*/ static int mysql_admin_table(THD* thd, TABLE_LIST* tables, HA_CHECK_OPT* check_opt, const char *operator_name, |