mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Fix for bug #9796 "Query Cache caches queries with CURRENT_USER()
function". We should not cache queries using CURRENT_USER() function as we do it for some other functions, e.g. USER() function.
This commit is contained in:
@ -299,6 +299,8 @@ select UNIX_TIMESTAMP() from t1;
|
||||
UNIX_TIMESTAMP()
|
||||
select USER() from t1;
|
||||
USER()
|
||||
select CURRENT_USER() from t1;
|
||||
CURRENT_USER()
|
||||
select benchmark(1,1) from t1;
|
||||
benchmark(1,1)
|
||||
show status like "Qcache_queries_in_cache";
|
||||
|
Reference in New Issue
Block a user