diff options
author | unknown <jpipes@shakedown.(none)> | 2006-09-25 14:58:10 -0400 |
---|---|---|
committer | unknown <jpipes@shakedown.(none)> | 2006-09-25 14:58:10 -0400 |
commit | af3109087a43e406e3fa356b9eed143c4511dda8 (patch) | |
tree | d4c5d2ac4292c1e57c149ec09d7f3b455eb6edb7 /mysql-test/r/func_misc.result | |
parent | 49f81904fe937b8a4e85e52ea315c63ea2b46ff0 (diff) | |
download | mariadb-git-af3109087a43e406e3fa356b9eed143c4511dda8.tar.gz |
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
Diffstat (limited to 'mysql-test/r/func_misc.result')
-rw-r--r-- | mysql-test/r/func_misc.result | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mysql-test/r/func_misc.result b/mysql-test/r/func_misc.result index f0262acd71e..6b6277ea649 100644 --- a/mysql-test/r/func_misc.result +++ b/mysql-test/r/func_misc.result @@ -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 |