diff options
author | monty@narttu.mysql.fi <> | 2007-05-02 12:11:59 +0300 |
---|---|---|
committer | monty@narttu.mysql.fi <> | 2007-05-02 12:11:59 +0300 |
commit | 9078e630c64a313301cd13ce71d0854fbcf2fd0b (patch) | |
tree | 7239423735ba617754598e318d8ffe0668ad8377 /sql/item_func.h | |
parent | b4b44b0b6bf0543a6a3afef06ebc88b2d32bbf6f (diff) | |
parent | eeaa3adb036085b6f411c2b5f18db70e2e8c6977 (diff) | |
download | mariadb-git-9078e630c64a313301cd13ce71d0854fbcf2fd0b.tar.gz |
Merge nosik:/my/mysql-5.1
into mysql.com:/home/my/mysql-5.1
Diffstat (limited to 'sql/item_func.h')
-rw-r--r-- | sql/item_func.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/sql/item_func.h b/sql/item_func.h index 6457013b160..21dce696d61 100644 --- a/sql/item_func.h +++ b/sql/item_func.h @@ -1551,3 +1551,18 @@ public: const char *func_name() const { return "found_rows"; } void fix_length_and_dec() { decimals= 0; maybe_null=0; } }; + + +void uuid_short_init(); + +class Item_func_uuid_short :public Item_int_func +{ +public: + Item_func_uuid_short() :Item_int_func() {} + const char *func_name() const { return "uuid_short"; } + longlong val_int(); + void fix_length_and_dec() + { max_length= 21; unsigned_flag=1; } + bool check_partition_func_processor(byte *int_arg) {return FALSE;} +}; + |