summaryrefslogtreecommitdiff
path: root/mysql-test/t
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2019-03-15 15:06:17 +0100
committerSergei Golubchik <serg@mariadb.org>2019-03-15 21:00:56 +0100
commit1f020299f816263e347c852eb2a494b5ef1cbf0d (patch)
tree96613eea5c79139da3d78caee4547296188e8253 /mysql-test/t
parentf1134d567695990dc7d62b6c25e4b9aa8de439e0 (diff)
downloadmariadb-git-1f020299f816263e347c852eb2a494b5ef1cbf0d.tar.gz
post-merge: --ps-protocol fixes
Includes: MDEV-17302 Add support for ALTER USER command in prepared statement and MDEV-17673 main.cte_recursive fails in bb-10.4-ps branch in --ps Set correct SELECT_LEX linkage for recursive CTEs. Do not delegate this job to TABLE_LIST::set_as_with_table, because it is only run on prepare, while With_element::move_anchors_ahead is run both on prepare and execute (fix by Igor)
Diffstat (limited to 'mysql-test/t')
-rw-r--r--mysql-test/t/show_explain_ps.test16
1 files changed, 8 insertions, 8 deletions
diff --git a/mysql-test/t/show_explain_ps.test b/mysql-test/t/show_explain_ps.test
index b43cd559e09..13cd1538143 100644
--- a/mysql-test/t/show_explain_ps.test
+++ b/mysql-test/t/show_explain_ps.test
@@ -49,12 +49,12 @@ reap;
set debug_dbug='';
-select event_name
-from
-performance_schema.events_stages_history_long
-where
- event_name like '%show explain' and
- thread_id in(select thread_id
- from performance_schema.events_statements_history_long
- where EVENT_NAME='statement/sql/show_explain');
+evalp select event_name
+ from
+ performance_schema.events_stages_history_long join
+ performance_schema.threads using (thread_id)
+ where
+ event_name like '%show explain' and
+ processlist_id=$thr1;
+
drop table t0;