From 3f619478f796eddbba6e39502fe941b285dd97b1 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 4 May 2024 20:00:34 +0200 Subject: Adding upstream version 1:10.11.6. Signed-off-by: Daniel Baumann --- mysql-test/main/udf_query_cache.result | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 mysql-test/main/udf_query_cache.result (limited to 'mysql-test/main/udf_query_cache.result') diff --git a/mysql-test/main/udf_query_cache.result b/mysql-test/main/udf_query_cache.result new file mode 100644 index 00000000..38bb78a8 --- /dev/null +++ b/mysql-test/main/udf_query_cache.result @@ -0,0 +1,26 @@ +drop table if exists t1; +CREATE FUNCTION metaphon RETURNS STRING SONAME "UDF_EXAMPLE_LIB"; +create table t1 (a char); +set @save_query_cache_size=@@query_cache_size; +set GLOBAL query_cache_size=1355776; +reset query cache; +flush status; +select metaphon('MySQL') from t1; +metaphon('MySQL') +show status like "Qcache_hits"; +Variable_name Value +Qcache_hits 0 +show status like "Qcache_queries_in_cache"; +Variable_name Value +Qcache_queries_in_cache 0 +select metaphon('MySQL') from t1; +metaphon('MySQL') +show status like "Qcache_hits"; +Variable_name Value +Qcache_hits 0 +show status like "Qcache_queries_in_cache"; +Variable_name Value +Qcache_queries_in_cache 0 +drop table t1; +drop function metaphon; +set GLOBAL query_cache_size=@save_query_cache_size; -- cgit v1.2.3