null+****@clear*****
null+****@clear*****
2010年 10月 7日 (木) 18:32:04 JST
Tetsuro IKEDA 2010-10-07 09:32:04 +0000 (Thu, 07 Oct 2010) New Revision: 8f40d31da66b538b3634f615947056a1acb6700c Log: added error test for create_table. Modified files: test/sql/r/create_table.result test/sql/t/create_table.test Modified: test/sql/r/create_table.result (+2 -0) =================================================================== --- test/sql/r/create_table.result 2010-10-07 08:39:17 +0000 (3e7c36c) +++ test/sql/r/create_table.result 2010-10-07 09:32:04 +0000 (ee613d2) @@ -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; Modified: test/sql/t/create_table.test (+4 -0) =================================================================== --- test/sql/t/create_table.test 2010-10-07 08:39:17 +0000 (2b816d2) +++ test/sql/t/create_table.test 2010-10-07 09:32:04 +0000 (39bdbaf) @@ -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