diff options
author | unknown <Sinisa@sinisa.nasamreza.org> | 2002-11-15 19:58:07 +0200 |
---|---|---|
committer | unknown <Sinisa@sinisa.nasamreza.org> | 2002-11-15 19:58:07 +0200 |
commit | 27b7b8abbd399982ffb8a16cf3dd2ac882acca57 (patch) | |
tree | cd196d9a0db73de48bdf21cdb9621aa7344b9255 /sql/sql_union.cc | |
parent | 183a207fd7bc734a1747fa9cfe0eae194d2d1b50 (diff) | |
download | mariadb-git-27b7b8abbd399982ffb8a16cf3dd2ac882acca57.tar.gz |
A fix for the bug when MyISAM tmp table has to be created in order
to resolve derived table.
Will make a test case for this quite soon.
Diffstat (limited to 'sql/sql_union.cc')
-rw-r--r-- | sql/sql_union.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_union.cc b/sql/sql_union.cc index 53f89747ce7..f48b879838f 100644 --- a/sql/sql_union.cc +++ b/sql/sql_union.cc @@ -80,6 +80,7 @@ bool select_union::send_data(List<Item> &values) { if (create_myisam_from_heap(table, tmp_table_param, info.last_errno, 0)) return 1; + thd->net.report_error=0; // donno why does it work, but it does ... } return 0; } |