diff options
author | unknown <elliot@mysql.com> | 2005-12-02 01:11:49 +0100 |
---|---|---|
committer | unknown <elliot@mysql.com> | 2005-12-02 01:11:49 +0100 |
commit | e03a8358de629429d32ecdfd1b647ecc44820bb5 (patch) | |
tree | 124119a96c0dbf7cf3839f36928c5c585e15b970 /sql/ha_blackhole.h | |
parent | 90b240e7dcbffd0b442cf22997a2c3c1aa49aad2 (diff) | |
download | mariadb-git-e03a8358de629429d32ecdfd1b647ecc44820bb5.tar.gz |
BUG#15406: Adding support for transactions to blackhole.
Now when rolling back a transaction on a blackhole table,
the transaction will not be written to the binlog.
sql/ha_blackhole.h:
Added support for transactions
mysql-test/t/blackhole.test:
Added a test for transaction support
mysql-test/r/blackhole.result:
updated test results for transaction support
Diffstat (limited to 'sql/ha_blackhole.h')
-rw-r--r-- | sql/ha_blackhole.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/ha_blackhole.h b/sql/ha_blackhole.h index 1a5fc514644..15e12659aa0 100644 --- a/sql/ha_blackhole.h +++ b/sql/ha_blackhole.h @@ -84,4 +84,5 @@ public: THR_LOCK_DATA **store_lock(THD *thd, THR_LOCK_DATA **to, enum thr_lock_type lock_type); + bool has_transactions() { return 1; } }; |