summaryrefslogtreecommitdiff
path: root/mysql-test/include/have_blackhole.inc
diff options
context:
space:
mode:
authorunknown <brian@zim.(none)>2005-03-22 16:10:39 -0800
committerunknown <brian@zim.(none)>2005-03-22 16:10:39 -0800
commit8a99997d6061ec3e2d75616422eac413868ceada (patch)
tree5c6b4d736e4b7ef46a5f108c4b75ea97249d7398 /mysql-test/include/have_blackhole.inc
parent5b32b8e1dd281d15de4ccafb23dde29b43303850 (diff)
downloadmariadb-git-8a99997d6061ec3e2d75616422eac413868ceada.tar.gz
Additional storage engine called "blackhole". Customer request, and for that matter a Zawodny request. With this you can alter table to a type of table that would never store data. Its a /dev/null for a database.
acinclude.m4: New macro rule for ha_blackhole. configure.in: Rule enabling blackhole engine sql/Makefile.am: Additions to Makefile for blackhole engine sql/handler.cc: Ifdef enable code for blackhole (and message for "what does this thing do"). sql/handler.h: Flag for storage engine type. sql/mysql_priv.h: Added blackhole type. sql/mysqld.cc: Updates for building backhole. sql/set_var.cc: Show variable for blackhole engine
Diffstat (limited to 'mysql-test/include/have_blackhole.inc')
-rw-r--r--mysql-test/include/have_blackhole.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/mysql-test/include/have_blackhole.inc b/mysql-test/include/have_blackhole.inc
new file mode 100644
index 00000000000..c2b6ea18830
--- /dev/null
+++ b/mysql-test/include/have_blackhole.inc
@@ -0,0 +1,4 @@
+-- require r/have_blackhole.require
+disable_query_log;
+show variables like "have_blackhole_engine";
+enable_query_log;