~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/filesystem/tests/t/basic_create_table.test

add basic create table test suite for filesystem storage engine

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
--disable_warnings
 
2
DROP TABLE IF EXISTS t1;
 
3
--enable_warnings
 
4
 
 
5
# test file not existed
 
6
--error 1698
 
7
CREATE TABLE t1 (a INT) ENGINE=FILESYSTEM,FILE="../../../plugin/filesystem/tests/t/_FILE_NOT_EXISTED_";
 
8
 
 
9
# test col separator not empty
 
10
--error 1698
 
11
CREATE TABLE t1 (a INT) ENGINE=FILESYSTEM,FILE="../../../plugin/filesystem/tests/t/basic_create_table.data",COL_SEPARATOR="";
 
12
 
 
13
# test row separator not empty
 
14
--error 1698
 
15
CREATE TABLE t1 (a INT) ENGINE=FILESYSTEM,FILE="../../../plugin/filesystem/tests/t/basic_create_table.data",ROW_SEPARATOR="";
 
16
 
 
17
CREATE TABLE t1 (a INT) ENGINE=FILESYSTEM,FILE="../../../plugin/filesystem/tests/t/basic_create_table.data";
 
18
 
 
19
--error 1050
 
20
CREATE TABLE t1 (a INT) ENGINE=FILESYSTEM,FILE="../../../plugin/filesystem/tests/t/basic_create_table.data";
 
21
 
 
22
SHOW CREATE TABLE t1;
 
23
 
 
24
DROP TABLE t1;