From 9a92325c02c55d2b60f44ca3e8724787b8d2d100 Mon Sep 17 00:00:00 2001 From: "mats@kindahl-laptop.dnsalias.net" <> Date: Mon, 28 May 2007 12:50:29 +0200 Subject: 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. --- storage/example/ha_example.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'storage/example') diff --git a/storage/example/ha_example.h b/storage/example/ha_example.h index 9777a478209..97ecfb97536 100644 --- a/storage/example/ha_example.h +++ b/storage/example/ha_example.h @@ -82,7 +82,12 @@ public: */ ulonglong table_flags() const { - return 0; + /* + We are saying that this engine is just row capable to have an + engine that can only handle row-based logging. This is used in + testing. + */ + return HA_BINLOG_ROW_CAPABLE; } /** @brief -- cgit v1.2.1