SQL: move Vers_extended_item::vtq_cached_result() to Item [closes #250]
This commit is contained in:
parent
b231a85200
commit
a6aaa4fefe
18
sql/item.h
18
sql/item.h
@ -480,20 +480,8 @@ public:
|
|||||||
String_copier_for_item(THD *thd): m_thd(thd) { }
|
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,
|
class Item: public Value_source,
|
||||||
public Type_std_attributes,
|
public Type_std_attributes
|
||||||
public Vers_extended_item
|
|
||||||
{
|
{
|
||||||
void operator=(Item &);
|
void operator=(Item &);
|
||||||
/**
|
/**
|
||||||
@ -1845,8 +1833,10 @@ public:
|
|||||||
{
|
{
|
||||||
marker &= ~EXTRACTION_MASK;
|
marker &= ~EXTRACTION_MASK;
|
||||||
}
|
}
|
||||||
};
|
|
||||||
|
|
||||||
|
/* System versioning */
|
||||||
|
virtual vtq_record_t *vtq_cached_result() { return NULL; }
|
||||||
|
};
|
||||||
|
|
||||||
template <class T>
|
template <class T>
|
||||||
inline Item* get_item_copy (THD *thd, MEM_ROOT *mem_root, T* item)
|
inline Item* get_item_copy (THD *thd, MEM_ROOT *mem_root, T* item)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user