diff options
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;} +}; + |