summaryrefslogtreecommitdiff
path: root/sql/sql_union.cc
diff options
context:
space:
mode:
authorunknown <mikael@dator5.(none)>2006-07-01 00:01:37 -0400
committerunknown <mikael@dator5.(none)>2006-07-01 00:01:37 -0400
commitc92b025b3a98f02b26678cfd14dba2d169f980c8 (patch)
treea9af6bfab0bb1fa096598be7a003fe272b362d5c /sql/sql_union.cc
parentbf723783a786c70f63f87fd6b2c5b0146f6a7183 (diff)
downloadmariadb-git-c92b025b3a98f02b26678cfd14dba2d169f980c8.tar.gz
BUG#17138: Crashes in stored procedure
Last round of review fixes BUILD/compile-pentium-gcov: No change sql/ha_ndbcluster.h: Last round of review changes sql/ha_partition.h: Last round of review changes sql/handler.h: Last round of review changes sql/item_sum.cc: Last round of review changes sql/sql_acl.cc: Last round of review changes sql/sql_insert.cc: Last round of review changes sql/sql_select.cc: Last round of review changes sql/sql_table.cc: Last round of review changes sql/sql_union.cc: Last round of review changes sql/sql_update.cc: Last round of review changes
Diffstat (limited to 'sql/sql_union.cc')
-rw-r--r--sql/sql_union.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_union.cc b/sql/sql_union.cc
index fd4529090d4..3e6a3944093 100644
--- a/sql/sql_union.cc
+++ b/sql/sql_union.cc
@@ -65,7 +65,7 @@ bool select_union::send_data(List<Item> &values)
if ((error= table->file->ha_write_row(table->record[0])))
{
/* create_myisam_from_heap will generate error if needed */
- if (table->file->is_fatal_error(error, HA_CHECK_DUPP) &&
+ if (table->file->is_fatal_error(error, HA_CHECK_DUP) &&
create_myisam_from_heap(thd, table, &tmp_table_param, error, 1))
return 1;
}