summaryrefslogtreecommitdiff
path: root/sql/sql_union.cc
diff options
context:
space:
mode:
authorunknown <sanja@montyprogram.com>2013-07-18 11:16:18 +0300
committerunknown <sanja@montyprogram.com>2013-07-18 11:16:18 +0300
commit07099b70210210c16b362eede7fa82940662e87f (patch)
tree5142a4fcab29756a4b087864ddb2e73a7ec498fa /sql/sql_union.cc
parentc7973615e723b13c6457b494b72be2fac35bfd18 (diff)
downloadmariadb-git-07099b70210210c16b362eede7fa82940662e87f.tar.gz
Fix of using uninitialized variadle.
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 248296b2bf4..1551a8ff6d6 100644
--- a/sql/sql_union.cc
+++ b/sql/sql_union.cc
@@ -83,7 +83,7 @@ int select_union::send_data(List<Item> &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,