summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorunknown <bell@sanja.is.com.ua>2004-12-03 23:24:41 +0200
committerunknown <bell@sanja.is.com.ua>2004-12-03 23:24:41 +0200
commitb2f7b5bd64f49084033b6c2e72a8e7239b861416 (patch)
tree0db84e1edab3d877bb8898c5163d508411f20988 /sql
parentc9f0aaa6531ec99df577db978a31d20b5964e950 (diff)
parentc2780e1258f335d4886d69b2ca03e0f6068b17ec (diff)
downloadmariadb-git-b2f7b5bd64f49084033b6c2e72a8e7239b861416.tar.gz
merge
Diffstat (limited to 'sql')
-rw-r--r--sql/item.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sql/item.h b/sql/item.h
index ccb0fda1c49..3c4f80e3857 100644
--- a/sql/item.h
+++ b/sql/item.h
@@ -1127,7 +1127,7 @@ class Item_cache_int: public Item_cache
{
longlong value;
public:
- Item_cache_int(): Item_cache() {}
+ Item_cache_int(): Item_cache(), value(0) {}
void store(Item *item);
double val() { DBUG_ASSERT(fixed == 1); return (double) value; }
@@ -1145,7 +1145,7 @@ class Item_cache_real: public Item_cache
{
double value;
public:
- Item_cache_real(): Item_cache() {}
+ Item_cache_real(): Item_cache(), value(0) {}
void store(Item *item);
double val() { DBUG_ASSERT(fixed == 1); return value; }
@@ -1167,7 +1167,7 @@ class Item_cache_str: public Item_cache
char buffer[80];
String *value, value_buff;
public:
- Item_cache_str(): Item_cache() { }
+ Item_cache_str(): Item_cache(), value(0) { }
void store(Item *item);
double val();