summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
Diffstat (limited to 'sql')
-rw-r--r--sql/item.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/item.cc b/sql/item.cc
index 59785813566..c43421117e5 100644
--- a/sql/item.cc
+++ b/sql/item.cc
@@ -2107,6 +2107,7 @@ Item_varbinary::Item_varbinary(const char *str, uint str_length)
*ptr=0; // Keep purify happy
collation.set(&my_charset_bin, DERIVATION_COERCIBLE);
fixed= 1;
+ unsigned_flag= 1;
}
longlong Item_varbinary::val_int()