diff options
author | monty@hundin.mysql.fi <> | 2001-09-14 02:54:33 +0300 |
---|---|---|
committer | monty@hundin.mysql.fi <> | 2001-09-14 02:54:33 +0300 |
commit | 7cadc6e711cedf2d8cfd9809616b9e521927f4b7 (patch) | |
tree | 633afdf8fdbda69f1a5a66b706478fa9e37cf0f8 /sql/item.h | |
parent | e28586e005f913b8ba328d9a099b10a8158647ee (diff) | |
download | mariadb-git-7cadc6e711cedf2d8cfd9809616b9e521927f4b7.tar.gz |
Changed to use my_global.h
Fixed problem with LIKE with latin1_de
Added parsing support of UNSIGNED LONG LONG
Diffstat (limited to 'sql/item.h')
-rw-r--r-- | sql/item.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sql/item.h b/sql/item.h index 9ad633d9278..98abdc834d9 100644 --- a/sql/item.h +++ b/sql/item.h @@ -181,6 +181,19 @@ public: }; +class Item_uint :public Item_int +{ +public: + Item_uint(const char *str_arg, uint length) : + Item_int(str_arg, (longlong) strtoull(str_arg,(char**) 0,10), length) {} + double val() { return ulonglong2double(value); } + String *val_str(String*); + void make_field(Send_field *field); + Item *new_item() { return new Item_uint(name,max_length); } + void print(String *str); +}; + + class Item_real :public Item { public: |