Commit 2fb2ee6f authored by brian@avenger.(none)'s avatar brian@avenger.(none)

Adding test cases for the example storage engine (so that you can test to see...

Adding test cases for the example storage engine (so that you can test to see if it was built correctly).
parent b7b48d67
-- require r/have_exampledb.require
disable_query_log;
show variables like "have_example_engine";
enable_query_log;
drop table if exists t1;
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;
Variable_name Value
have_exampledb YES
#
# 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;
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment