Commit a6aaa4fe authored by Eugene Kosov's avatar Eugene Kosov

SQL: move Vers_extended_item::vtq_cached_result() to Item [closes #250]

parent b231a852
......@@ -480,20 +480,8 @@ class String_copier_for_item: public String_copier
String_copier_for_item(THD *thd): m_thd(thd) { }
};
/* System versioning */
class Vers_extended_item
{
public:
virtual vtq_record_t* vtq_cached_result()
{
return NULL;
}
};
class Item: public Value_source,
public Type_std_attributes,
public Vers_extended_item
public Type_std_attributes
{
void operator=(Item &);
/**
......@@ -1845,8 +1833,10 @@ class Item: public Value_source,
{
marker &= ~EXTRACTION_MASK;
}
};
/* System versioning */
virtual vtq_record_t *vtq_cached_result() { return NULL; }
};
template <class T>
inline Item* get_item_copy (THD *thd, MEM_ROOT *mem_root, T* item)
......
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