mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +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:
@@ -182,6 +182,7 @@ select LAST_INSERT_ID() from t1;
|
||||
select RAND() from t1;
|
||||
select UNIX_TIMESTAMP() from t1;
|
||||
select USER() from t1;
|
||||
select CURRENT_USER() from t1;
|
||||
select benchmark(1,1) from t1;
|
||||
show status like "Qcache_queries_in_cache";
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user