summaryrefslogtreecommitdiff
path: root/mysql-test/t/exampledb.test
diff options
context:
space:
mode:
authorunknown <brian@avenger.(none)>2004-08-13 17:14:36 -0700
committerunknown <brian@avenger.(none)>2004-08-13 17:14:36 -0700
commit24e03b49a230443d52b82d5352072d64d314aab4 (patch)
treef0f27b1d97cda6c636e4f7583f68ce41daf745de /mysql-test/t/exampledb.test
parent2d8f4a61bf49613f326407af75ce6dd8badfe21c (diff)
downloadmariadb-git-24e03b49a230443d52b82d5352072d64d314aab4.tar.gz
Adding test cases for the example storage engine (so that you can test to see if it was built correctly).
Diffstat (limited to 'mysql-test/t/exampledb.test')
-rw-r--r--mysql-test/t/exampledb.test16
1 files changed, 16 insertions, 0 deletions
diff --git a/mysql-test/t/exampledb.test b/mysql-test/t/exampledb.test
new file mode 100644
index 00000000000..c60a9d7f930
--- /dev/null
+++ b/mysql-test/t/exampledb.test
@@ -0,0 +1,16 @@
+#
+# Simple test for the example storage engine
+# Taken fromm the select test
+#
+-- source include/have_exampledb.inc
+
+--disable_warnings
+drop table if exists t1;
+--enable_warnings
+
+CREATE TABLE t1 (
+ Period smallint(4) unsigned zerofill DEFAULT '0000' NOT NULL,
+ Varor_period smallint(4) unsigned DEFAULT '0' NOT NULL
+) ENGINE=example;
+
+drop table t1;