summaryrefslogtreecommitdiff
path: root/mysql-test/t/analyze_stmt.test
diff options
context:
space:
mode:
authorOleksandr Byelkin <sanja@mariadb.com>2015-01-29 22:43:07 +0100
committerOleksandr Byelkin <sanja@mariadb.com>2015-01-29 22:43:07 +0100
commitedf34f38ac4fad7996bf19cd9ac669d2a6825400 (patch)
tree961e1f820b01fa6eb7aef24bf4aef8531bd760fc /mysql-test/t/analyze_stmt.test
parent51feb6fa99ebf027b74e2e01fb1839df97f76070 (diff)
downloadmariadb-git-edf34f38ac4fad7996bf19cd9ac669d2a6825400.tar.gz
MDEV-7024: Assertion `! is_set()' failed in Diagnostics_area::set_eof_status on executing ANALYZE SELECT via PS
select_send::is_result_interceptor() should return FALSE because it return results to the client.
Diffstat (limited to 'mysql-test/t/analyze_stmt.test')
-rw-r--r--mysql-test/t/analyze_stmt.test11
1 files changed, 11 insertions, 0 deletions
diff --git a/mysql-test/t/analyze_stmt.test b/mysql-test/t/analyze_stmt.test
index f5c5c432434..4da16cf6474 100644
--- a/mysql-test/t/analyze_stmt.test
+++ b/mysql-test/t/analyze_stmt.test
@@ -233,3 +233,14 @@ analyze select * into outfile '../../tmp/data1.tmp' from t1;
--remove_file $MYSQLTEST_VARDIR/tmp/data1.tmp
drop table t1;
+
+
+--echo #
+--echo # MDEV-7024: Assertion `! is_set()' failed in
+--echo # Diagnostics_area::set_eof_status on executing ANALYZE SELECT via PS
+--echo #
+
+create table t1(a int);
+prepare stmt from "analyze select * from t1";
+execute stmt;
+drop table t1;