mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 20:07:13 +02:00
MDEV-6701: InnoDB tests fail in 10.1
Fixed test failures seen on defragment tests, innodb.innodb-wl5522-debug-zip and innodb.innodb_bug12902967.
This commit is contained in:
parent
e44751b65f
commit
d3ceb934f1
14 changed files with 334 additions and 150 deletions
|
|
@ -3752,7 +3752,13 @@ fil_open_single_table_tablespace(
|
|||
#endif /* UNIV_SYNC_DEBUG */
|
||||
ut_ad(!fix_dict || mutex_own(&(dict_sys->mutex)));
|
||||
|
||||
if (!fsp_flags_is_valid(flags)) {
|
||||
/* Table flags can be ULINT_UNDEFINED if
|
||||
dict_tf_to_fsp_flags_failure is set. */
|
||||
if (flags != ULINT_UNDEFINED) {
|
||||
if (!fsp_flags_is_valid(flags)) {
|
||||
return(DB_CORRUPTION);
|
||||
}
|
||||
} else {
|
||||
return(DB_CORRUPTION);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue