Navigation Menu

Skip to content

Commit

Permalink
added error test for create_table.
Browse files Browse the repository at this point in the history
  • Loading branch information
ikdttr committed Oct 7, 2010
1 parent 0df19fb commit 8f40d31
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/sql/r/create_table.result
Expand Up @@ -148,4 +148,6 @@ desc t1;
Field Type Null Key Default Extra
c1 set('A','B','AB','O') YES NULL
drop table t1;
create table `_aaa` (c1 int) engine = groonga;
ERROR HY000: name can't start with '_' and 0-9, and contains only 0-9, A-Z, a-z, or _
uninstall plugin groonga;
4 changes: 4 additions & 0 deletions test/sql/t/create_table.test
Expand Up @@ -115,6 +115,10 @@ create table t1 (c1 set("A","B","AB","O"));
desc t1;
drop table t1;

# error
--error 1005
create table `_aaa` (c1 int) engine = groonga;

--disable_warnings
uninstall plugin groonga;
--enable_warnings

0 comments on commit 8f40d31

Please sign in to comment.