[Groonga-mysql-commit] mroonga/mroonga [fix-for-visual-studio] added error test for create_table.

Back to archive index

Tetsuro IKEDA null+****@clear*****
Thu Oct 4 10:22:13 JST 2012


Tetsuro IKEDA	2010-10-07 18:32:04 +0900 (Thu, 07 Oct 2010)

  New Revision: 8f40d31da66b538b3634f615947056a1acb6700c
  https://github.com/mroonga/mroonga/commit/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 17:39:17 +0900 (3e7c36c)
+++ test/sql/r/create_table.result    2010-10-07 18:32:04 +0900 (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 17:39:17 +0900 (2b816d2)
+++ test/sql/t/create_table.test    2010-10-07 18:32:04 +0900 (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
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-mysql-commit mailing list
Back to archive index