summaryrefslogtreecommitdiff
path: root/mysql-test/r/func_time.result
diff options
context:
space:
mode:
authorSergey Glukhov <sergey.glukhov@oracle.com>2011-03-28 17:33:35 +0400
committerSergey Glukhov <sergey.glukhov@oracle.com>2011-03-28 17:33:35 +0400
commit8cca70e0368494da6373814e0ed8934a2a56bec2 (patch)
tree3dbaeee1ed164d6db4c509e6e98b07a5170fb903 /mysql-test/r/func_time.result
parentb9b40a0c29dfaa74afe85e835b0ee29fadd20433 (diff)
parent47885f552b1822291584b71c791fd5175ba6567f (diff)
downloadmariadb-git-8cca70e0368494da6373814e0ed8934a2a56bec2.tar.gz
5.1 -> 5.5 merge
Diffstat (limited to 'mysql-test/r/func_time.result')
-rw-r--r--mysql-test/r/func_time.result12
1 files changed, 12 insertions, 0 deletions
diff --git a/mysql-test/r/func_time.result b/mysql-test/r/func_time.result
index 819ee7f167f..fbb938169f6 100644
--- a/mysql-test/r/func_time.result
+++ b/mysql-test/r/func_time.result
@@ -1353,6 +1353,18 @@ DROP TABLE t1;
SELECT STR_TO_DATE(SPACE(2),'1');
STR_TO_DATE(SPACE(2),'1')
0000-00-00
+#
+# Bug#11765216 58154: UNINITIALIZED VARIABLE FORMAT IN STR_TO_DATE FUNCTION
+#
+SET GLOBAL SQL_MODE='';
+DO STR_TO_DATE((''), FROM_DAYS(@@GLOBAL.SQL_MODE));
+SET GLOBAL SQL_MODE=DEFAULT;
+#
+# Bug#11766087 59125: VALGRIND UNINITIALISED VALUE WARNING IN ULL2DEC, LONGLONG2DECIMAL
+#
+SELECT FORMAT(YEAR(STR_TO_DATE('',GET_FORMAT(TIME,''))),1);
+FORMAT(YEAR(STR_TO_DATE('',GET_FORMAT(TIME,''))),1)
+NULL
End of 5.1 tests
#
# Bug#57039: constant subtime expression returns incorrect result.