Commit 06cbb73f authored by unknown's avatar unknown

Merged fixes for BUG#6976 and BUG#7079

parent 75a43405
......@@ -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();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment