mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
More verbose error messages
This commit is contained in:
@ -10,7 +10,7 @@ a
|
||||
2
|
||||
ALTER TABLE t1 DISCARD TABLESPACE;
|
||||
SELECT a FROM t1;
|
||||
ERROR HY000: Got error -1 from storage engine
|
||||
ERROR HY000: Got error -1 "Internal error < 0 (Not system error)" from storage engine <STORAGE_ENGINE>
|
||||
ALTER TABLE t1 IMPORT TABLESPACE;
|
||||
SELECT a FROM t1;
|
||||
a
|
||||
|
@ -63,6 +63,7 @@ EOF
|
||||
--source alter_table.inc
|
||||
|
||||
--let $error_codes = ER_GET_ERRNO
|
||||
--replace_result $storage_engine <STORAGE_ENGINE>
|
||||
SELECT a FROM t1;
|
||||
--source check_errors.inc
|
||||
if ($mysql_errname != ER_GET_ERRNO)
|
||||
|
@ -1,4 +1,4 @@
|
||||
let $storage_engine_search_string = ENGINE=$storage_engine;
|
||||
|
||||
--replace_result ' ' ' ' ' ,' ',' ' )' ')' '( ' '(' $default_tbl_opts <CUSTOM_TABLE_OPTIONS> $int_indexed_col <INT_COLUMN> $char_indexed_col <CHAR_COLUMN> $int_col <INT_COLUMN> $char_col <CHAR_COLUMN> $default_col_indexed_opts <CUSTOM_COL_OPTIONS> $default_col_opts <CUSTOM_COL_OPTIONS> $storage_engine_search_string ENGINE=<STORAGE_ENGINE> $default_index <CUSTOM_INDEX>
|
||||
--replace_result ' ' ' ' ' ,' ',' ' )' ')' '( ' '(' $default_tbl_opts <CUSTOM_TABLE_OPTIONS> $int_indexed_col <INT_COLUMN> $char_indexed_col <CHAR_COLUMN> $int_col <INT_COLUMN> $char_col <CHAR_COLUMN> $default_col_indexed_opts <CUSTOM_COL_OPTIONS> $default_col_opts <CUSTOM_COL_OPTIONS> $storage_engine_search_string ENGINE=<STORAGE_ENGINE> $storage_engine <STORAGE_ENGINE> $default_index <CUSTOM_INDEX>
|
||||
|
||||
|
Reference in New Issue
Block a user