File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -2506,6 +2506,7 @@ dict_create_or_check_sys_tablespace(void)
2506
2506
<< " . Dropping incompletely created tables." ;
2507
2507
2508
2508
ut_a (err == DB_OUT_OF_FILE_SPACE
2509
+ || err == DB_DUPLICATE_KEY
2509
2510
|| err == DB_TOO_MANY_CONCURRENT_TRXS);
2510
2511
2511
2512
row_drop_table_for_mysql (" SYS_TABLESPACES" , trx, TRUE , TRUE );
@@ -2533,11 +2534,11 @@ dict_create_or_check_sys_tablespace(void)
2533
2534
2534
2535
sys_tablespaces_err = dict_check_if_system_table_exists (
2535
2536
" SYS_TABLESPACES" , DICT_NUM_FIELDS__SYS_TABLESPACES + 1 , 1 );
2536
- ut_a (sys_tablespaces_err == DB_SUCCESS);
2537
+ ut_a (sys_tablespaces_err == DB_SUCCESS || err != DB_SUCCESS );
2537
2538
2538
2539
sys_datafiles_err = dict_check_if_system_table_exists (
2539
2540
" SYS_DATAFILES" , DICT_NUM_FIELDS__SYS_DATAFILES + 1 , 1 );
2540
- ut_a (sys_datafiles_err == DB_SUCCESS);
2541
+ ut_a (sys_datafiles_err == DB_SUCCESS || err != DB_SUCCESS );
2541
2542
2542
2543
return (err);
2543
2544
}
You can’t perform that action at this time.
0 commit comments