1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Fix for Bug #21466: INET_ATON() returns signed int, not unsigned

This commit is contained in:
jpipes@shakedown.(none)
2006-09-25 14:58:10 -04:00
parent 987b1b59e3
commit d3a67330ff
3 changed files with 15 additions and 1 deletions

View File

@ -134,4 +134,11 @@ timediff(b, a) >= '00:00:03'
drop table t2;
drop table t1;
set global query_cache_size=default;
create table t1 select INET_ATON('255.255.0.1') as `a`;
show create table t1;
Table Create Table
t1 CREATE TABLE `t1` (
`a` bigint(21) unsigned default NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1
drop table t1;
End of 5.0 tests