1
0
mirror of https://github.com/MariaDB/server.git synced 2025-09-02 09:41:40 +03:00

MDEV-4451 Attempt to write-lock a SEQUENCE table with log-bin enabled causes ER_BINLOG_ROW_ENGINE

mark the SEQUENCE engine as both SBR and RBR capable :)
This commit is contained in:
Sergei Golubchik
2013-06-16 17:19:53 +02:00
parent 08a1ac9d35
commit e53b603f7c
3 changed files with 15 additions and 1 deletions

View File

@@ -45,7 +45,8 @@ private:
public:
ha_seq(handlerton *hton, TABLE_SHARE *table_arg)
: handler(hton, table_arg), seqs(0) { }
ulonglong table_flags() const { return 0; }
ulonglong table_flags() const
{ return HA_BINLOG_ROW_CAPABLE | HA_BINLOG_STMT_CAPABLE; }
/* open/close/locking */
int create(const char *name, TABLE *table_arg,