summaryrefslogtreecommitdiff
path: root/mysql-test/r/compare.result
diff options
context:
space:
mode:
authorGeorgi Kodinov <kgeorge@mysql.com>2008-09-19 15:34:37 +0300
committerGeorgi Kodinov <kgeorge@mysql.com>2008-09-19 15:34:37 +0300
commit9ef780338243f6d696e4f7758c34ad3baf37efe3 (patch)
tree89ec9cf56f750b025fd2f254ea1654d9ca25b54c /mysql-test/r/compare.result
parentcb8a39e78c0ad08c23a7f1c3148ce74f506bcaf0 (diff)
parentac4de74d0086ce72618f741d7476f05493b5215f (diff)
downloadmariadb-git-9ef780338243f6d696e4f7758c34ad3baf37efe3.tar.gz
merge of bug 39353 5.0-5.1.29-rc -> 5.1-5.1.29-rc
Diffstat (limited to 'mysql-test/r/compare.result')
-rw-r--r--mysql-test/r/compare.result5
1 files changed, 5 insertions, 0 deletions
diff --git a/mysql-test/r/compare.result b/mysql-test/r/compare.result
index 44c258d7611..f9563b89b76 100644
--- a/mysql-test/r/compare.result
+++ b/mysql-test/r/compare.result
@@ -90,4 +90,9 @@ Note 1276 Field or reference 'test.t2.a' of SELECT #2 was resolved in SELECT #1
Note 1276 Field or reference 'test.t2.a' of SELECT #2 was resolved in SELECT #1
Note 1003 select `test`.`t2`.`a` AS `a`,(select count(0) AS `COUNT(*)` from `test`.`t1` where ((`test`.`t1`.`b` = `test`.`t2`.`a`) and (concat(`test`.`t1`.`b`,`test`.`t1`.`c`) = concat('0',`test`.`t2`.`a`,'01')))) AS `x` from `test`.`t2` order by `test`.`t2`.`a`
DROP TABLE t1,t2;
+CREATE TABLE t1 (a TIMESTAMP);
+INSERT INTO t1 VALUES (NOW()),(NOW()),(NOW());
+SELECT * FROM t1 WHERE a > '2008-01-01' AND a = '0000-00-00';
+a
+DROP TABLE t1;
End of 5.0 tests