mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Adding test cases for the example storage engine (so that you can test to see if it was built correctly).
This commit is contained in:
16
mysql-test/t/exampledb.test
Normal file
16
mysql-test/t/exampledb.test
Normal file
@ -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;
|
Reference in New Issue
Block a user