diff options
author | mats@kindahl-laptop.dnsalias.net <> | 2007-05-28 12:50:29 +0200 |
---|---|---|
committer | mats@kindahl-laptop.dnsalias.net <> | 2007-05-28 12:50:29 +0200 |
commit | 9a92325c02c55d2b60f44ca3e8724787b8d2d100 (patch) | |
tree | 5f33520a3ea4809926952b015e31af3977e1e805 /storage/example | |
parent | 6a7925a262bbe4ab37a90a952330b3b411bc2df5 (diff) | |
download | mariadb-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 'storage/example')
-rw-r--r-- | storage/example/ha_example.h | 7 |
1 files changed, 6 insertions, 1 deletions
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 |