mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
mdev-4173: Wrong result (extra row) with semijoin=on, joins in outer query, LEFT JOIN in the subquery
Apply the patch from Patryk Pomykalski: - create_internal_tmp_table_from_heap() will now return information whether the last row that we tried to write was a duplicate row. (mysql-5.6 also has this change)
This commit is contained in:
@@ -3133,7 +3133,7 @@ bool schema_table_store_record(THD *thd, TABLE *table)
|
||||
{
|
||||
TMP_TABLE_PARAM *param= table->pos_in_table_list->schema_table_param;
|
||||
if (create_internal_tmp_table_from_heap(thd, table, param->start_recinfo,
|
||||
¶m->recinfo, error, 0))
|
||||
¶m->recinfo, error, 0, NULL))
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user