[Groonga-mysql-commit] mroonga/mroonga [master] test: use error name instead of error code

Back to archive index

Kouhei Sutou null+****@clear*****
Sat Nov 17 17:19:40 JST 2012


Kouhei Sutou	2012-11-17 17:19:40 +0900 (Sat, 17 Nov 2012)

  New Revision: 19e1bc6d8a5912f293be316d15b18b99b7bff5fc
  https://github.com/mroonga/mroonga/commit/19e1bc6d8a5912f293be316d15b18b99b7bff5fc

  Log:
    test: use error name instead of error code
    
    1005 ->
    ER_CANT_CREATE_TABLE

  Modified files:
    test/sql/suite/mroonga/storage/create/table/t/TODO_SPLIT_ME.test

  Modified: test/sql/suite/mroonga/storage/create/table/t/TODO_SPLIT_ME.test (+6 -6)
===================================================================
--- test/sql/suite/mroonga/storage/create/table/t/TODO_SPLIT_ME.test    2012-11-17 17:18:59 +0900 (371ad0d)
+++ test/sql/suite/mroonga/storage/create/table/t/TODO_SPLIT_ME.test    2012-11-17 17:19:40 +0900 (35070a6)
@@ -121,25 +121,25 @@ desc t1;
 drop table t1;
 
 # error
---error 1005
+--error ER_CANT_CREATE_TABLE
 create table t1 (c1 int, `_score` float) engine = mroonga;
 
 # checking for virtual columns
---error 1005
+--error ER_CANT_CREATE_TABLE
 create table t1 (c1 int, `_id` text) engine = mroonga;
---error 1005
+--error ER_CANT_CREATE_TABLE
 create table t1 (c1 int, `_id` int, index(`_id`)) engine = mroonga;
 
 # index for _id
---error 1005
+--error ER_CANT_CREATE_TABLE
 create table t1 (_id int, c1 int, primary key (_id));
 create table t1 (_id int, c1 int, primary key (_id) using hash);
 drop table t1;
---error 1005
+--error ER_CANT_CREATE_TABLE
 create table t1 (_id int, c1 int, unique key (_id));
 create table t1 (_id int, c1 int, unique key (_id) using hash);
 drop table t1;
---error 1005
+--error ER_CANT_CREATE_TABLE
 create table t1 (_id int, c1 int, key (_id));
 create table t1 (_id int, c1 int, key (_id) using hash);
 drop table t1;
-------------- next part --------------
HTML����������������������������...
Download 



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