diff options
author | Michael Widenius <monty@askmonty.org> | 2013-11-05 20:30:36 +0200 |
---|---|---|
committer | Michael Widenius <monty@askmonty.org> | 2013-11-05 20:30:36 +0200 |
commit | 6cc9f4ac5c1530087ae1b808ab0fdcc58b308b54 (patch) | |
tree | 249760e31ed7b75bf4353bcc3543a97ce8afa0aa /mysql-test/extra | |
parent | afa49d7919554995726bf710d8a36cb6f4357777 (diff) | |
download | mariadb-git-6cc9f4ac5c1530087ae1b808ab0fdcc58b308b54.tar.gz |
Added usage of handler error names to mysqltest
include/CMakeLists.txt:
Added handler_ername.h
include/handler_ername.h:
Names of handler error messages
mysql-test/extra/binlog_tests/binlog.test:
Test using handler error names
mysql-test/r/mysqltest.result:
Update for new error message
mysql-test/t/auto_increment.test:
Test using handler error names
mysql-test/t/auto_increment_ranges.inc:
Test using handler error names
mysql-test/t/replace.test:
Test using handler error names
Diffstat (limited to 'mysql-test/extra')
-rw-r--r-- | mysql-test/extra/binlog_tests/binlog.test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mysql-test/extra/binlog_tests/binlog.test b/mysql-test/extra/binlog_tests/binlog.test index 5b57eab1005..63088365b0c 100644 --- a/mysql-test/extra/binlog_tests/binlog.test +++ b/mysql-test/extra/binlog_tests/binlog.test @@ -213,7 +213,7 @@ reset master; create table t1 (id tinyint auto_increment primary key); insert into t1 values(5); set insert_id=128; ---error 167 +--error HA_ERR_AUTOINC_ERANGE insert into t1 values(null) /* Not binlogged */; # The followin insert ignore will be put in binlog @@ -235,7 +235,7 @@ drop table t1; create table t1 (id tinyint auto_increment primary key) engine=myisam; set insert_id=128; ---error 167 +--error HA_ERR_AUTOINC_ERANGE insert into t1 values(5),(null) /* Insert_id 128 */; # The followin insert ignore will be put in binlog |