diff options
author | Sergei Golubchik <sergii@pisem.net> | 2014-08-05 11:47:58 +0200 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2014-08-05 11:47:58 +0200 |
commit | cf4814b39700fc0fe062519ad9090099540f79c0 (patch) | |
tree | 574b3446945a889c530e310150d81d404324e88d /sql/item.cc | |
parent | 321f589c81105ef9fc23689b7ec8eec3ff98ed39 (diff) | |
download | mariadb-git-cf4814b39700fc0fe062519ad9090099540f79c0.tar.gz |
MDEV-6052 Inconsistent results with bit type
Remove the "don't update the row for b'' and store uninitialized bytes on disk" change.
Update test cases to allow DEFAULT b'', because b'' is a valid expression elsewhere.
Diffstat (limited to 'sql/item.cc')
-rw-r--r-- | sql/item.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sql/item.cc b/sql/item.cc index 21baf779781..95df347f71a 100644 --- a/sql/item.cc +++ b/sql/item.cc @@ -6389,8 +6389,6 @@ int Item_hex_hybrid::save_in_field(Field *field, bool no_conversions) ulonglong nr; uint32 length= str_value.length(); - if (!length) - return 1; if (length > 8) { |