From 06cbb73f26c7eba54ef4a435b27bce5c4d2a6cdf Mon Sep 17 00:00:00 2001
From: unknown <sergefp@mysql.com>
Date: Mon, 13 Dec 2004 20:25:26 +0300
Subject: [PATCH] Merged fixes for BUG#6976 and BUG#7079

---
 sql/item.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/sql/item.h b/sql/item.h
index 119fad8374..52a644677a 100644
--- a/sql/item.h
+++ b/sql/item.h
@@ -922,6 +922,10 @@ public:
     :Item_ref(item, table_name_par, field_name_par) {}
   /* Constructor need to process subselect with temporary tables (see Item) */
   Item_direct_ref(THD *thd, Item_direct_ref *item) : Item_ref(thd, item) {}
+  Item_direct_ref(Item **item, const char *table_name_par, 
+           const char *field_name_par, Item *src)
+    : Item_ref(item, table_name_par, field_name_par, src) {}
+
   double val()
   {
     double tmp=(*ref)->val();
-- 
2.30.9