Navigation Menu

Skip to content

Commit

Permalink
test: use error name instead of error code
Browse files Browse the repository at this point in the history
1406 ->
ER_DATA_TOO_LONG
  • Loading branch information
kou committed Nov 17, 2012
1 parent 2f5da41 commit 8921039
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/sql/suite/mroonga/storage/insert/t/TODO_SPLIT_ME.test
Expand Up @@ -84,7 +84,7 @@ set sql_mode="";
# warning 1265
insert into t1 (c1,_id) values (1,1);
set sql_mode="strict_all_tables";
--error 1406
--error ER_DATA_TOO_LONG
insert into t1 (c1,_id) values (4,1);
select * from t1;
drop table t1;
Expand Down
Expand Up @@ -32,7 +32,7 @@ set sql_mode="";
update t1 set _id = 10 where c1 = 1;
select * from t1;
set sql_mode="strict_all_tables";
--error 1406
--error ER_DATA_TOO_LONG
update t1 set _id = 11 where c1 = 1;
select * from t1;
drop table t1;
Expand Down

0 comments on commit 8921039

Please sign in to comment.