diff options
author | monty@narttu.mysql.fi <> | 2003-04-23 21:52:16 +0300 |
---|---|---|
committer | monty@narttu.mysql.fi <> | 2003-04-23 21:52:16 +0300 |
commit | f6a43bd567f932995289ed179d18e5923873680b (patch) | |
tree | acef6d0c7b21d3c5a8a9cdc9c5f1eb4f1774857b /sql/sql_union.cc | |
parent | 52ebc0e883e6c924f2d3cdd6d7e55508e6352320 (diff) | |
download | mariadb-git-f6a43bd567f932995289ed179d18e5923873680b.tar.gz |
Fixes for valgrind
Added optimzation for clustered index
Fixed bug in UPDATE ... ORDER BY
Fixed handling of UPDATE ... LIMIT
Diffstat (limited to 'sql/sql_union.cc')
-rw-r--r-- | sql/sql_union.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/sql_union.cc b/sql/sql_union.cc index faa106d4f42..e7afa7fbd23 100644 --- a/sql/sql_union.cc +++ b/sql/sql_union.cc @@ -262,7 +262,8 @@ bool select_union::send_data(List<Item> &values) fill_record(table->field,values); if ((write_record(table,&info))) { - if (create_myisam_from_heap(table, tmp_table_param, info.last_errno, 0)) + if (create_myisam_from_heap(thd, table, tmp_table_param, info.last_errno, + 0)) return 1; } return 0; |