mirror of
https://github.com/MariaDB/server.git
synced 2025-01-20 05:52:27 +01:00
Make MyISAM's version of create_internal_tmp_table set
QPLAN_TMP_DISK, like Aria version does (otherwise slow query log would show Tmp_table_on_disk=No when it should have said Yes)
This commit is contained in:
parent
efb57a8ebf
commit
464278246a
1 changed files with 1 additions and 0 deletions
|
@ -14473,6 +14473,7 @@ bool create_internal_tmp_table(TABLE *table, KEY *keyinfo,
|
|||
goto err;
|
||||
}
|
||||
status_var_increment(table->in_use->status_var.created_tmp_disk_tables);
|
||||
table->in_use->query_plan_flags|= QPLAN_TMP_DISK;
|
||||
share->db_record_offset= 1;
|
||||
table->created= TRUE;
|
||||
DBUG_RETURN(0);
|
||||
|
|
Loading…
Reference in a new issue