summaryrefslogtreecommitdiff
path: root/sql/sql_table.cc
diff options
context:
space:
mode:
authorunknown <lars@mysql.com>2004-11-03 18:23:58 +0100
committerunknown <lars@mysql.com>2004-11-03 18:23:58 +0100
commit539e2130b02b09581586ab1b1efd7ece8ef3ef4d (patch)
tree6e88240a0871cb06a9567374c0df685347e20d8e /sql/sql_table.cc
parent78c4faa297539c95c33c69d00dfb5e129c2afcca (diff)
downloadmariadb-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.cc6
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,