1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

A fix for a bug in multi-table updates which was always caused

whenever a temporary MyISAM table had to be created from HEAP table.
This commit is contained in:
Sinisa@sinisa.nasamreza.org
2003-04-02 17:05:34 +03:00
parent 7b29e8fcc4
commit c588cf6889
4 changed files with 18 additions and 1 deletions

View File

@ -741,7 +741,7 @@ bool multi_update::send_data(List<Item> &not_used_values)
(error != HA_ERR_FOUND_DUPP_KEY &&
error != HA_ERR_FOUND_DUPP_UNIQUE))
{
if (create_myisam_from_heap(table, tmp_table_param + offset, error, 1))
if (create_myisam_from_heap(tmp_table, tmp_table_param + offset, error, 1))
{
do_update=0;
DBUG_RETURN(1); // Not a table_is_full error