2004-08-14 02:14:36 +02:00
|
|
|
#
|
|
|
|
# Simple test for the example storage engine
|
|
|
|
# Taken fromm the select test
|
|
|
|
#
|
|
|
|
-- source include/have_exampledb.inc
|
|
|
|
|
|
|
|
--disable_warnings
|
2006-05-05 19:08:40 +02:00
|
|
|
# Clean up if event's test fails
|
|
|
|
drop database if exists events_test;
|
|
|
|
drop database if exists events_test2;
|
|
|
|
|
2004-08-14 02:14:36 +02:00
|
|
|
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;
|
2005-07-28 02:22:47 +02:00
|
|
|
|
|
|
|
# End of 4.1 tests
|