Commit f1fb9b67 authored by Sergei Golubchik's avatar Sergei Golubchik

make table option reader more future-proof

parent a3e8ae12
......@@ -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);
}
/**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment