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
1048 ->
ER_BAD_NULL_ERROR
  • Loading branch information
kou committed Nov 17, 2012
1 parent 19e1bc6 commit ac7d93a
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -21,7 +21,7 @@ drop table if exists t1, t2, t3;
--enable_warnings

create table t1 (_id int, a int, primary key (_id) using hash);
--error 1048
--error ER_BAD_NULL_ERROR
insert into t1 values(null, 100);
insert into t1 values(1,100);
insert into t1 values(1,100);
Expand Down

0 comments on commit ac7d93a

Please sign in to comment.