summaryrefslogtreecommitdiff
path: root/mysql-test/t/func_misc.test
diff options
context:
space:
mode:
authorjpipes@shakedown.(none) <>2006-09-25 14:58:10 -0400
committerjpipes@shakedown.(none) <>2006-09-25 14:58:10 -0400
commitd3a67330ff9f200bdb20c89cadd9cc2003dd403d (patch)
treed4c5d2ac4292c1e57c149ec09d7f3b455eb6edb7 /mysql-test/t/func_misc.test
parent987b1b59e3e28fd23b115395e89c6f87a38673bf (diff)
downloadmariadb-git-d3a67330ff9f200bdb20c89cadd9cc2003dd403d.tar.gz
Fix for Bug #21466: INET_ATON() returns signed int, not unsigned
Diffstat (limited to 'mysql-test/t/func_misc.test')
-rw-r--r--mysql-test/t/func_misc.test7
1 files changed, 7 insertions, 0 deletions
diff --git a/mysql-test/t/func_misc.test b/mysql-test/t/func_misc.test
index 52a5512d070..5cac6c45f65 100644
--- a/mysql-test/t/func_misc.test
+++ b/mysql-test/t/func_misc.test
@@ -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