mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 19:37:16 +02:00
Merge with 4.1
BitKeeper/etc/logging_ok: auto-union configure.in: Auto merged include/config-win.h: Auto merged include/my_global.h: Auto merged mysql-test/r/drop.result: Auto merged mysys/default.c: Auto merged mysys/mf_keycache.c: Auto merged sql/field.h: Auto merged sql/item.h: Auto merged sql/item_func.cc: Auto merged sql/item_func.h: Auto merged sql/mysqld.cc: Auto merged BitKeeper/deleted/.del-errmsg.txt~f96b7055cac394e: Auto merged mysql-test/r/cast.result: Merge mysql-test/t/cast.test: Merge sql/sql_insert.cc: Merge sql/sql_select.cc: Merge
This commit is contained in:
commit
a6acc4462c
18 changed files with 518 additions and 82 deletions
|
|
@ -302,7 +302,8 @@ public:
|
|||
{ return save_in_field(field, 1); }
|
||||
virtual bool send(Protocol *protocol, String *str);
|
||||
virtual bool eq(const Item *, bool binary_cmp) const;
|
||||
virtual Item_result result_type () const { return REAL_RESULT; }
|
||||
virtual Item_result result_type() const { return REAL_RESULT; }
|
||||
virtual Item_result cast_to_int_type() const { return result_type(); }
|
||||
virtual enum_field_types field_type() const;
|
||||
virtual enum Type type() const =0;
|
||||
/* valXXX methods must return NULL or 0 or 0.0 if null_value is set. */
|
||||
|
|
@ -738,6 +739,10 @@ public:
|
|||
{
|
||||
return field->result_type();
|
||||
}
|
||||
Item_result cast_to_int_type() const
|
||||
{
|
||||
return field->cast_to_int_type();
|
||||
}
|
||||
enum_field_types field_type() const
|
||||
{
|
||||
return field->type();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue