summaryrefslogtreecommitdiff
path: root/mysql-test/main/derived_cond_pushdown.test
diff options
context:
space:
mode:
authorDmitry Shulga <dmitry.shulga@mariadb.com>2021-04-28 12:44:46 +0700
committerSergei Golubchik <serg@mariadb.org>2021-06-17 19:30:24 +0200
commit8754fce8b086911a2446cb414f770ece13ef1d27 (patch)
treec074df6e0f750772b8772359d36efa455797e5d6 /mysql-test/main/derived_cond_pushdown.test
parentaeca826c5fe9e6709bbdb7f89c12a8c4df31c84f (diff)
downloadmariadb-git-8754fce8b086911a2446cb414f770ece13ef1d27.tar.gz
MDEV-16708: Unsupported commands for prepared statements
Fixed test failures caused by missing output of warnings that got on prepare phase
Diffstat (limited to 'mysql-test/main/derived_cond_pushdown.test')
-rw-r--r--mysql-test/main/derived_cond_pushdown.test3
1 files changed, 2 insertions, 1 deletions
diff --git a/mysql-test/main/derived_cond_pushdown.test b/mysql-test/main/derived_cond_pushdown.test
index fb227e85ee6..e6ee05dd644 100644
--- a/mysql-test/main/derived_cond_pushdown.test
+++ b/mysql-test/main/derived_cond_pushdown.test
@@ -1064,9 +1064,10 @@ DROP TABLE t1,t2;
CREATE TABLE t1 (i INT);
CREATE OR REPLACE ALGORITHM=TEMPTABLE VIEW v1 AS SELECT * FROM t1;
INSERT INTO t1 VALUES (1),(2);
-
+--enable_prepare_warnings
EXPLAIN FORMAT=JSON
SELECT * FROM v1 WHERE i <= ANY ( SELECT 3 );
+--disable_prepare_warnings
SELECT * FROM v1 WHERE i <= ANY ( SELECT 3 );