Skip to content
Permalink
Browse files
MDEV-19085: Fix a typo that was caught by GCC 5.4
  • Loading branch information
dr-m committed Apr 1, 2019
1 parent f055da9 commit d59ad69
Showing 1 changed file with 1 addition and 2 deletions.
@@ -3024,8 +3024,7 @@ innobase_build_col_map(
== dict_table_get_n_cols(new_table));
DBUG_ASSERT(table->s->stored_fields > 0);

size_t old_n_v_cols = old_n_v_cols = table->s->fields
- table->s->stored_fields;
const size_t old_n_v_cols = table->s->fields - table->s->stored_fields;
DBUG_ASSERT(old_n_v_cols == old_table->n_v_cols
|| table->s->frm_version < FRM_VER_EXPRESSSIONS);
DBUG_ASSERT(!old_n_v_cols || table->s->virtual_fields);

0 comments on commit d59ad69

Please sign in to comment.