mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Added possibility to use --error <name> instead of --error <number>
The old syntax works as well. WL#2356.
This commit is contained in:
@ -294,7 +294,7 @@ select * from t2;
|
||||
create table t3 like t1;
|
||||
--error 1050
|
||||
create table t3 like mysqltest.t3;
|
||||
--error 1044,1
|
||||
--error ER_DBACCESS_DENIED_ERROR,1
|
||||
create table non_existing_database.t1 like t1;
|
||||
--error 1051
|
||||
create table t3 like non_existing_table;
|
||||
|
@ -1761,9 +1761,9 @@ DO benchmark(100,1+1),1,1;
|
||||
# Bug #6449: do default;
|
||||
#
|
||||
|
||||
--error 1064
|
||||
--error ER_PARSE_ERROR
|
||||
do default;
|
||||
--error 1054
|
||||
--error ER_BAD_FIELD_ERROR
|
||||
do foobar;
|
||||
|
||||
#
|
||||
|
Reference in New Issue
Block a user