15 lines
500 B
Plaintext
15 lines
500 B
Plaintext
# Bug#22559575 "the statement (1) has no open cursor" pops sometimes with
|
|
# prepared+query_cache
|
|
#
|
|
# Create relevent tables and call C API test cases
|
|
# Setup
|
|
select VARIABLE_VALUE into @qcache_hit_val1 from
|
|
performance_schema.global_status where VARIABLE_NAME = 'Qcache_hits';
|
|
|
|
#Run C_API test case
|
|
select VARIABLE_VALUE into @qcache_hit_val2 from
|
|
performance_schema.global_status where VARIABLE_NAME = 'Qcache_hits';
|
|
SELECT @qcache_hit_val2 - @qcache_hit_val1;
|
|
@qcache_hit_val2 - @qcache_hit_val1
|
|
1
|