[Commits] fd484f44eb2: Use error names, not error codes
revision-id: fd484f44eb29f2580d70bba896e192b4c713ced8 (mariadb-10.5.2-477-gfd484f44eb2) parent(s): dd37d10bf2dae7f705c8c6e4667ae0b4135a2e57 author: Sergei Petrunia committer: Sergei Petrunia timestamp: 2021-03-15 15:02:50 +0300 message: Use error names, not error codes --- mysql-test/suite/json/t/json_table_mysql.test | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/mysql-test/suite/json/t/json_table_mysql.test b/mysql-test/suite/json/t/json_table_mysql.test index 82ed224cb82..e323d700b24 100644 --- a/mysql-test/suite/json/t/json_table_mysql.test +++ b/mysql-test/suite/json/t/json_table_mysql.test @@ -82,7 +82,7 @@ select * from #eval $query; #eval explain $query; ---error 4174 +--error ER_JSON_TABLE_ERROR_ON_FIELD select * from json_table( '[{"a":"3"},{"a":2},{"b":1},{"a":0}]', @@ -91,7 +91,7 @@ select * from jexst int exists path '$.b') ) as tt; ---error 4174 +--error ER_JSON_TABLE_ERROR_ON_FIELD select * from json_table( '[{"a":"3"},{"a":2},{"a":1},{"a":[0,1]}]', @@ -914,9 +914,9 @@ DROP VIEW v1; --echo # PREPARE stmt FROM "SELECT * FROM JSON_TABLE('{\"a\":1}','$' COLUMNS (c1 CHAR(20) PATH '$.b' ERROR ON EMPTY)) jt"; ---error 4174 +--error ER_JSON_TABLE_ERROR_ON_FIELD EXECUTE stmt; ---error 4174 +--error ER_JSON_TABLE_ERROR_ON_FIELD EXECUTE stmt; --echo #
participants (1)
-
psergey