diff options
author | unknown <monty@narttu.mysql.fi> | 2007-05-02 12:11:59 +0300 |
---|---|---|
committer | unknown <monty@narttu.mysql.fi> | 2007-05-02 12:11:59 +0300 |
commit | 02af55835fe1f6c3e5dd836dbf2daa7067a140b3 (patch) | |
tree | 7239423735ba617754598e318d8ffe0668ad8377 /sql/item_func.h | |
parent | 55153730b2aadba899284b2862647edefaa44757 (diff) | |
parent | 4958eec7ec52f4208deb1dad18900af6db728b66 (diff) | |
download | mariadb-git-02af55835fe1f6c3e5dd836dbf2daa7067a140b3.tar.gz |
Merge nosik:/my/mysql-5.1
into mysql.com:/home/my/mysql-5.1
sql/field.cc:
Auto merged
sql/item.cc:
Auto merged
sql/item_func.cc:
Auto merged
sql/item_func.h:
Auto merged
sql/mysql_priv.h:
Auto merged
sql/mysqld.cc:
Auto merged
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;} +}; + |