summaryrefslogtreecommitdiff
path: root/sql/item.cc
diff options
context:
space:
mode:
authorunknown <bell@sanja.is.com.ua>2004-12-13 08:45:00 +0200
committerunknown <bell@sanja.is.com.ua>2004-12-13 08:45:00 +0200
commit1e314961893c2f5a460bb16c72c320ad3fedd037 (patch)
tree4b3d9a553cc252b24591072935bd45fa5272eb94 /sql/item.cc
parentf738015fe93e151bcffddefd9afd1f101933a55d (diff)
downloadmariadb-git-1e314961893c2f5a460bb16c72c320ad3fedd037.tar.gz
initialize variables (addition for BUG#7079)
sql/item.cc: initialize variables
Diffstat (limited to 'sql/item.cc')
-rw-r--r--sql/item.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/item.cc b/sql/item.cc
index 3fca0033be2..9ed8b39dece 100644
--- a/sql/item.cc
+++ b/sql/item.cc
@@ -1372,7 +1372,7 @@ static void mark_as_dependent(THD *thd, SELECT_LEX *last, SELECT_LEX *current,
bool Item_field::fix_fields(THD *thd, TABLE_LIST *tables, Item **ref)
{
- enum_parsing_place place;
+ enum_parsing_place place= NO_MATTER;
DBUG_ASSERT(fixed == 0);
if (!field) // If field is not checked
{
@@ -2044,7 +2044,7 @@ bool Item_ref::fix_fields(THD *thd,TABLE_LIST *tables, Item **reference)
{
DBUG_ASSERT(fixed == 0);
uint counter;
- enum_parsing_place place;
+ enum_parsing_place place= NO_MATTER;
bool not_used;
if (!ref)
{