summaryrefslogtreecommitdiff
path: root/sql/set_var.cc
diff options
context:
space:
mode:
authormats@kindahl-laptop.dnsalias.net <>2007-05-28 12:50:29 +0200
committermats@kindahl-laptop.dnsalias.net <>2007-05-28 12:50:29 +0200
commit9a92325c02c55d2b60f44ca3e8724787b8d2d100 (patch)
tree5f33520a3ea4809926952b015e31af3977e1e805 /sql/set_var.cc
parent6a7925a262bbe4ab37a90a952330b3b411bc2df5 (diff)
downloadmariadb-git-9a92325c02c55d2b60f44ca3e8724787b8d2d100.tar.gz
WL#3303 (RBR: Engine-controlled logging format):
Adding support to allow engines to tell what formats they can handle. The server will generate an error if it is not possible to log the statement according to the logging mode in effect. Adding flags to several storage engines to state what they can handle. Changes to NDB handler removing code that forces row-based mode and adding flag saying that NDB can only handle row format. Adding check that binlog flags are only used for real tables that are opened for writing.
Diffstat (limited to 'sql/set_var.cc')
-rw-r--r--sql/set_var.cc10
1 files changed, 0 insertions, 10 deletions
diff --git a/sql/set_var.cc b/sql/set_var.cc
index 325167ff9fa..a24b3ea049d 100644
--- a/sql/set_var.cc
+++ b/sql/set_var.cc
@@ -1343,16 +1343,6 @@ bool sys_var_thd_binlog_format::is_readonly() const
my_error(ER_STORED_FUNCTION_PREVENTS_SWITCH_BINLOG_FORMAT, MYF(0));
return 1;
}
-#ifdef HAVE_NDB_BINLOG
- /*
- Cluster does not support changing the binlog format on the fly yet.
- */
- if (opt_bin_log && (have_ndbcluster == SHOW_OPTION_YES))
- {
- my_error(ER_NDB_CANT_SWITCH_BINLOG_FORMAT, MYF(0));
- return 1;
- }
-#endif /* HAVE_NDB_BINLOG */
return sys_var_thd_enum::is_readonly();
}