mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 20:12:31 +01:00
make table option reader more future-proof
This commit is contained in:
parent
a3e8ae1280
commit
f1fb9b67c4
1 changed files with 6 additions and 1 deletions
|
@ -587,7 +587,12 @@ my_bool engine_table_options_frm_read(const uchar *buff, uint length,
|
|||
buff++;
|
||||
}
|
||||
|
||||
DBUG_RETURN(buff != buff_end);
|
||||
if (buff < buff_end)
|
||||
sql_print_warning("Table %`s was created in a later MariaDB version - "
|
||||
"unknown table attributes were ignored",
|
||||
share->table_name);
|
||||
|
||||
DBUG_RETURN(buff > buff_end);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue