summaryrefslogtreecommitdiff
path: root/mysql-test/r
diff options
context:
space:
mode:
authorTor Didriksen <tor.didriksen@oracle.com>2011-07-15 14:08:14 +0200
committerTor Didriksen <tor.didriksen@oracle.com>2011-07-15 14:08:14 +0200
commita72a9816629cb978c037d1182dd173b8606324eb (patch)
treeefcb5cf4b52e64d01e8e24844ba776ab68a5a532 /mysql-test/r
parent9827d4aa638c706041966efc49a3ac5a5726b4bf (diff)
parentcfe3489b9577f9736f115c6f4d21055274cf509b (diff)
downloadmariadb-git-a72a9816629cb978c037d1182dd173b8606324eb.tar.gz
merge 5.0-security => 5.1-security
Diffstat (limited to 'mysql-test/r')
-rw-r--r--mysql-test/r/type_float.result12
1 files changed, 12 insertions, 0 deletions
diff --git a/mysql-test/r/type_float.result b/mysql-test/r/type_float.result
index a3a13bb0435..f88f33b6419 100644
--- a/mysql-test/r/type_float.result
+++ b/mysql-test/r/type_float.result
@@ -407,4 +407,16 @@ SELECT f1 FROM t1;
f1
-1.79769313486231e+308
DROP TABLE t1;
+#
+# Bug#12406055 BUFFER OVERFLOW OF VARIABLE 'BUFF' IN STRING::SET_REAL
+#
+select format(-1.7976931348623157E+307,256) as foo;
+foo
+ignore_float_result
+select least(-1.1111111111111111111111111,
+- group_concat(1.7976931348623157E+308)) as foo;
+foo
+ignore_float_result
+select concat((truncate((-1.7976931348623157E+307),(0x1e))),
+(99999999999999999999999999999999999999999999999999999999999999999)) into @a;
End of 5.0 tests