summaryrefslogtreecommitdiff
path: root/sql/ha_blackhole.h
diff options
context:
space:
mode:
authorunknown <elliot@mysql.com>2005-12-02 01:11:49 +0100
committerunknown <elliot@mysql.com>2005-12-02 01:11:49 +0100
commite03a8358de629429d32ecdfd1b647ecc44820bb5 (patch)
tree124119a96c0dbf7cf3839f36928c5c585e15b970 /sql/ha_blackhole.h
parent90b240e7dcbffd0b442cf22997a2c3c1aa49aad2 (diff)
downloadmariadb-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.h1
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; }
};