mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 12:32:27 +01:00
SQL: move Vers_extended_item::vtq_cached_result() to Item [closes #250]
This commit is contained in:
parent
b231a85200
commit
a6aaa4fefe
1 changed files with 4 additions and 14 deletions
18
sql/item.h
18
sql/item.h
|
@ -480,20 +480,8 @@ public:
|
|||
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 @@ public:
|
|||
{
|
||||
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)
|
||||
|
|
Loading…
Reference in a new issue