Commit 4cff042a authored by aivanov@mysql.com's avatar aivanov@mysql.com

Applied innodb-5.0-ss521 snapshot.

 Fixed BUG#19366: "consistent_snapshot.test fails".
parent a7122276
...@@ -92,7 +92,6 @@ dict_table_get_n_user_cols( ...@@ -92,7 +92,6 @@ dict_table_get_n_user_cols(
{ {
ut_ad(table); ut_ad(table);
ut_ad(table->magic_n == DICT_TABLE_MAGIC_N); ut_ad(table->magic_n == DICT_TABLE_MAGIC_N);
ut_ad(table->cached);
return(table->n_cols - DATA_N_SYS_COLS); return(table->n_cols - DATA_N_SYS_COLS);
} }
...@@ -126,7 +125,6 @@ dict_table_get_n_cols( ...@@ -126,7 +125,6 @@ dict_table_get_n_cols(
{ {
ut_ad(table); ut_ad(table);
ut_ad(table->magic_n == DICT_TABLE_MAGIC_N); ut_ad(table->magic_n == DICT_TABLE_MAGIC_N);
ut_ad(table->cached);
return(table->n_cols); return(table->n_cols);
} }
......
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