ISSUES-3885 fix test failure

This commit is contained in:
zhang2014 2019-01-30 14:59:31 +08:00
parent e0d69071cc
commit 5906d0b545
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
-------ENABLE OPTIMIZE PREDICATE-------
2000-01-01 1 test string 1 1 1
2000-01-01 1 test string 1 1 1
2000-01-01 1 test string 1 1 1
1
-------FORCE PRIMARY KEY-------
-------CHECK STATEFUL FUNCTIONS-------
1 a 0

View File

@ -11,7 +11,7 @@ SET enable_optimize_predicate_expression = 1;
SELECT '-------ENABLE OPTIMIZE PREDICATE-------';
SELECT * FROM (SELECT * FROM test.test FINAL) WHERE id = 1;
SELECT * FROM (SELECT * FROM test.test LIMIT 1) WHERE id = 1;
SELECT * FROM (SELECT * FROM test.test GROUP BY id LIMIT 1 BY id) WHERE id = 1;
SELECT * FROM (SELECT id FROM test.test GROUP BY id LIMIT 1 BY id) WHERE id = 1;
SET force_primary_key = 1;