Navigation Menu

Skip to content

Commit

Permalink
added test case for "CREATE TABLE".
Browse files Browse the repository at this point in the history
  • Loading branch information
Tetsuro IKEDA committed Mar 23, 2010
1 parent 776e19c commit 1e1a28d
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
11 changes: 11 additions & 0 deletions test/sql/r/create_table.result
@@ -0,0 +1,11 @@
install plugin mroonga soname 'libmroonga.so';
set storage_engine=mroonga;
drop table if exists t1, t2, t3;
create table t1 (c1 int);
create table t2 (c1 int);
create table t3 (c1 int);
drop table t1,t2,t3;
create table t1 (c1 int, c2 int, c3 int);
create table t2 (c1 int primary key, c2 int, c3 int);
drop table t1,t2;
uninstall plugin mroonga;
19 changes: 19 additions & 0 deletions test/sql/t/create_table.test
@@ -0,0 +1,19 @@
--disable_warnings
install plugin mroonga soname 'libmroonga.so';
set storage_engine=mroonga;
drop table if exists t1, t2, t3;
--enable_warnings

create table t1 (c1 int);
create table t2 (c1 int);
create table t3 (c1 int);
drop table t1,t2,t3;

create table t1 (c1 int, c2 int, c3 int);
create table t2 (c1 int primary key, c2 int, c3 int);
drop table t1,t2;


--disable_warnings
uninstall plugin mroonga;
--enable_warnings

0 comments on commit 1e1a28d

Please sign in to comment.