diff options
author | igor@rurik.mysql.com <> | 2005-02-01 23:34:31 -0800 |
---|---|---|
committer | igor@rurik.mysql.com <> | 2005-02-01 23:34:31 -0800 |
commit | 0fb0dab4ca087c4d0588d3629d9faeb1aadbdcba (patch) | |
tree | 682f6cf38f3b3793a2d821f2e326f11a0a383559 /sql/item_strfunc.cc | |
parent | b018755ea6099c0481707136b999d775727991e0 (diff) | |
download | mariadb-git-0fb0dab4ca087c4d0588d3629d9faeb1aadbdcba.tar.gz |
func_str.result, func_str.test:
Added a test case for bug #7751.
item_strfunc.cc:
Fixed bug #7751.
The function Item_func_conv::val_str did not update
the unsigned_flag value.
Diffstat (limited to 'sql/item_strfunc.cc')
-rw-r--r-- | sql/item_strfunc.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/item_strfunc.cc b/sql/item_strfunc.cc index cd98fb62818..cee3316886a 100644 --- a/sql/item_strfunc.cc +++ b/sql/item_strfunc.cc @@ -2171,6 +2171,7 @@ String *Item_func_conv::val_str(String *str) return 0; } null_value=0; + unsigned_flag= !(from_base < 0); if (from_base < 0) dec= my_strntoll(res->charset(),res->ptr(),res->length(),-from_base,&endptr,&err); else |