mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 10:14:19 +01:00
Bug #26805833 INNODB COMPLAINS OF SYNTAX ERROR, BUT DOES NOT SAY WHICH OPTION
Problem: when incorrect value is assigned to innodb_data_file_path or innodb_temp_data_file_path parameter, Innodb returns error and logs error message in mysqlds.err file but there is no information in error message about the parameter which causes Innodb initialization is failed. Fix: Added error message with parameter name and value, which causes Innodb initialization is failed. Reviewed by: Jimmy <Jimmy.Yang@oracle.com> RB: 18206
This commit is contained in:
parent
671a37f60e
commit
b7e333f98a
2 changed files with 5 additions and 0 deletions
|
@ -21,6 +21,7 @@ call mtr.add_suppression("InnoDB: Plugin initialization aborted");
|
|||
call mtr.add_suppression("innodb_temporary and innodb_system file names seem to be the same");
|
||||
call mtr.add_suppression("Could not create the shared innodb_temporary");
|
||||
call mtr.add_suppression("InnoDB: syntax error in file path");
|
||||
call mtr.add_suppression("InnoDB: Unable to parse innodb_temp_data_file_path=");
|
||||
--enable_query_log
|
||||
|
||||
let $MYSQL_TMP_DIR = `select @@tmpdir`;
|
||||
|
|
|
@ -3932,6 +3932,8 @@ innobase_init(
|
|||
|
||||
/* Supports raw devices */
|
||||
if (!srv_sys_space.parse_params(innobase_data_file_path, true)) {
|
||||
ib::error() << "Unable to parse innodb_data_file_path="
|
||||
<< innobase_data_file_path;
|
||||
DBUG_RETURN(innobase_init_abort());
|
||||
}
|
||||
|
||||
|
@ -3950,6 +3952,8 @@ innobase_init(
|
|||
srv_tmp_space.set_flags(FSP_FLAGS_PAGE_SSIZE());
|
||||
|
||||
if (!srv_tmp_space.parse_params(innobase_temp_data_file_path, false)) {
|
||||
ib::error() << "Unable to parse innodb_temp_data_file_path="
|
||||
<< innobase_temp_data_file_path;
|
||||
DBUG_RETURN(innobase_init_abort());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue