From 07099b70210210c16b362eede7fa82940662e87f Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 18 Jul 2013 11:16:18 +0300 Subject: Fix of using uninitialized variadle. --- sql/sql_union.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sql/sql_union.cc') diff --git a/sql/sql_union.cc b/sql/sql_union.cc index 248296b2bf4..1551a8ff6d6 100644 --- a/sql/sql_union.cc +++ b/sql/sql_union.cc @@ -83,7 +83,7 @@ int select_union::send_data(List &values) */ return -1; } - bool is_duplicate; + bool is_duplicate= FALSE; /* create_internal_tmp_table_from_heap will generate error if needed */ if (table->file->is_fatal_error(write_err, HA_CHECK_DUP) && create_internal_tmp_table_from_heap(thd, table, -- cgit v1.2.1