summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sql/create_options.cc7
1 files changed, 6 insertions, 1 deletions
diff --git a/sql/create_options.cc b/sql/create_options.cc
index f4868f95330..8dac8917a6b 100644
--- a/sql/create_options.cc
+++ b/sql/create_options.cc
@@ -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);
}
/**