mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Fix for Bug #21466: INET_ATON() returns signed int, not unsigned
mysql-test/r/func_misc.result: Added test for Bug #21466: INET_ATON() returns signed int, not unsigned mysql-test/t/func_misc.test: Added test for Bug #21466: INET_ATON() returns signed int, not unsigned sql/item_func.h: Added unsigned_flag=1 value to Item_func_inet_aton. This fixes bug #21466: INET_ATON() returns signed int, not unsigned
This commit is contained in:
@ -125,4 +125,11 @@ drop table t2;
|
||||
drop table t1;
|
||||
set global query_cache_size=default;
|
||||
|
||||
#
|
||||
# Bug #21466: INET_ATON() returns signed, not unsigned
|
||||
#
|
||||
|
||||
create table t1 select INET_ATON('255.255.0.1') as `a`;
|
||||
show create table t1;
|
||||
drop table t1;
|
||||
--echo End of 5.0 tests
|
||||
|
Reference in New Issue
Block a user