mirror of
https://github.com/MariaDB/server.git
synced 2025-11-16 20:23:18 +03:00
Bug#14255 CAST(x AS BINARY(N)) does not pad
type_binary.result, type_binary.test: Adding test case. item_timefunc.cc: Padding code was added. sql/item_timefunc.cc: Bug#14255 CAST(x AS BINARY(N)) does not pad Padding code was added. mysql-test/t/type_binary.test: Adding test case. mysql-test/r/type_binary.result: Adding test case.
This commit is contained in:
@@ -111,3 +111,6 @@ select count(distinct s1) from t1;
|
||||
count(distinct s1)
|
||||
3
|
||||
drop table t1;
|
||||
select hex(cast(0x10 as binary(2)));
|
||||
hex(cast(0x10 as binary(2)))
|
||||
1000
|
||||
|
||||
Reference in New Issue
Block a user