mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 19:37:16 +02:00
Merge rurik.mysql.com:/home/igor/mysql-4.1
into rurik.mysql.com:/home/igor/dev/mysql-4.1-0 sql/item.h: Auto merged
This commit is contained in:
commit
a131e4d12d
5 changed files with 211 additions and 30 deletions
11
sql/item.h
11
sql/item.h
|
|
@ -470,6 +470,17 @@ public:
|
|||
Item *safe_charset_converter(CHARSET_INFO *tocs);
|
||||
};
|
||||
|
||||
class Item_null_result :public Item_null
|
||||
{
|
||||
public:
|
||||
Field *result_field;
|
||||
Item_null_result() : Item_null(), result_field(0) {}
|
||||
bool is_result_field() { return result_field != 0; }
|
||||
void save_in_result_field(bool no_conversions)
|
||||
{
|
||||
save_in_field(result_field, no_conversions);
|
||||
}
|
||||
};
|
||||
|
||||
/* Item represents one placeholder ('?') of prepared statement */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue