Navigation Menu

Skip to content

Commit

Permalink
added SQL testcase for DROP TABLE.
Browse files Browse the repository at this point in the history
  • Loading branch information
ikdttr committed Mar 17, 2010
1 parent cfaa6d6 commit 7a17298
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
9 changes: 9 additions & 0 deletions test/sql/r/drop_table.result
@@ -0,0 +1,9 @@
install plugin mroonga soname 'libmroonga.so';
drop table if exists t1, t2, t3;
create table t1 (c1 int primary key, c2 int, c3 int) engine = mroonga;
create table t2 (c1 int primary key, c2 int, c3 int) engine = mroonga;
create table t3 (c1 int primary key, c2 int, c3 int) engine = mroonga;
drop table t1;
drop table t2;
drop table t3;
uninstall plugin mroonga;
16 changes: 16 additions & 0 deletions test/sql/t/drop_table.test
@@ -0,0 +1,16 @@
--disable_warnings
install plugin mroonga soname 'libmroonga.so';
drop table if exists t1, t2, t3;
--enable_warnings

create table t1 (c1 int primary key, c2 int, c3 int) engine = mroonga;
create table t2 (c1 int primary key, c2 int, c3 int) engine = mroonga;
create table t3 (c1 int primary key, c2 int, c3 int) engine = mroonga;

drop table t1;
drop table t2;
drop table t3;

--disable_warnings
uninstall plugin mroonga;
--enable_warnings

0 comments on commit 7a17298

Please sign in to comment.