diff options
author | unknown <sanja@montyprogram.com> | 2012-06-21 18:47:13 +0300 |
---|---|---|
committer | unknown <sanja@montyprogram.com> | 2012-06-21 18:47:13 +0300 |
commit | 60561ae6133cf40f4fc445e1d6e8f395a20b2573 (patch) | |
tree | b45c0166a329abe7f84e6b036e9953fa446e18f3 /mysql-test/r/compare.result | |
parent | d9c3a3e39e4c5a6f060b7bbc1646ca74c123fbab (diff) | |
download | mariadb-git-60561ae6133cf40f4fc445e1d6e8f395a20b2573.tar.gz |
Fix for LP bug#1001505 and LP bug#1001510
We set correct cmp_context during preparation to avoid changing it later by Item_field::equal_fields_propagator.
(see mysql bugs #57135 #57692 during merging)
Diffstat (limited to 'mysql-test/r/compare.result')
-rw-r--r-- | mysql-test/r/compare.result | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mysql-test/r/compare.result b/mysql-test/r/compare.result index 796821a87bd..5168eb38586 100644 --- a/mysql-test/r/compare.result +++ b/mysql-test/r/compare.result @@ -96,3 +96,7 @@ SELECT * FROM t1 WHERE a > '2008-01-01' AND a = '0000-00-00'; a DROP TABLE t1; End of 5.0 tests +CREATE TABLE t1(a INT ZEROFILL); +SELECT 1 FROM t1 WHERE t1.a IN (1, t1.a) AND t1.a=2; +1 +DROP TABLE t1; |