diff options
Diffstat (limited to 'sql/sql_select.cc')
-rw-r--r-- | sql/sql_select.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_select.cc b/sql/sql_select.cc index fcfdd5cb547..90b3c6eefaf 100644 --- a/sql/sql_select.cc +++ b/sql/sql_select.cc @@ -3928,8 +3928,8 @@ bool create_myisam_from_heap(TABLE *table, TMP_TABLE_PARAM *param, int error, table->file->rnd_init(); if (table->no_rows) { - new_table->file->extra(HA_EXTRA_NO_ROWS); - new_table->no_rows=1; + new_table.file->extra(HA_EXTRA_NO_ROWS); + new_table.no_rows=1; } /* copy all old rows */ |