mirror of
https://github.com/MariaDB/server.git
synced 2025-04-12 18:25:38 +02:00
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.
This commit is contained in:
parent
51feb6fa99
commit
edf34f38ac
3 changed files with 22 additions and 1 deletions
|
@ -293,3 +293,13 @@ analyze select * into outfile '../../tmp/data1.tmp' from t1;
|
|||
id select_type table type possible_keys key key_len ref rows r_rows filtered r_filtered Extra
|
||||
1 SIMPLE t1 ALL NULL NULL NULL NULL 4 4 100.00 100.00
|
||||
drop table t1;
|
||||
#
|
||||
# MDEV-7024: Assertion `! is_set()' failed in
|
||||
# Diagnostics_area::set_eof_status on executing ANALYZE SELECT via PS
|
||||
#
|
||||
create table t1(a int);
|
||||
prepare stmt from "analyze select * from t1";
|
||||
execute stmt;
|
||||
id select_type table type possible_keys key key_len ref rows r_rows filtered r_filtered Extra
|
||||
1 SIMPLE NULL NULL NULL NULL NULL NULL NULL NULL NULL NULL no matching row in const table
|
||||
drop table t1;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -4108,7 +4108,7 @@ public:
|
|||
virtual bool check_simple_select() const { return FALSE; }
|
||||
void abort_result_set();
|
||||
virtual void cleanup();
|
||||
bool is_result_interceptor() { return true; }
|
||||
bool is_result_interceptor() { return false; }
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue