summaryrefslogtreecommitdiff
path: root/sql/item_strfunc.h
diff options
context:
space:
mode:
authorevgen@moonbone.local <>2007-04-21 00:33:56 +0400
committerevgen@moonbone.local <>2007-04-21 00:33:56 +0400
commit4434ff13a9b20b630f583589a4daa3dcb13f5aba (patch)
tree749783226569f93fbed5d272f9f7ced5a5859dfd /sql/item_strfunc.h
parentbfac9ea67e0812d998a98cbfeae8345376a22511 (diff)
parent6c5d17ef56b43b8423a787e368fe0ce1b43bb792 (diff)
downloadmariadb-git-4434ff13a9b20b630f583589a4daa3dcb13f5aba.tar.gz
Merge moonbone.local:/mnt/gentoo64/work/bk-trees/mysql-5.0-opt
into moonbone.local:/mnt/gentoo64/work/bk-trees/mysql-5.1-opt
Diffstat (limited to 'sql/item_strfunc.h')
-rw-r--r--sql/item_strfunc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item_strfunc.h b/sql/item_strfunc.h
index 1bf8dfbfe7e..60e7de42a9d 100644
--- a/sql/item_strfunc.h
+++ b/sql/item_strfunc.h
@@ -790,7 +790,7 @@ class Item_func_crc32 :public Item_int_func
{
String value;
public:
- Item_func_crc32(Item *a) :Item_int_func(a) {}
+ Item_func_crc32(Item *a) :Item_int_func(a) { unsigned_flag= 1; }
const char *func_name() const { return "crc32"; }
void fix_length_and_dec() { max_length=10; }
longlong val_int();