Current Path : /home/usr.opt/mysql57/mysql-test/r/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : /home/usr.opt/mysql57/mysql-test/r/query_cache_disabled.result |
SHOW GLOBAL VARIABLES LIKE 'query_cache_type'; Variable_name Value query_cache_type OFF SET GLOBAL query_cache_type=ON; ERROR HY000: Query cache is disabled; restart the server with query_cache_type=1 to enable it SET GLOBAL query_cache_type=DEMAND; ERROR HY000: Query cache is disabled; restart the server with query_cache_type=1 to enable it SET GLOBAL query_cache_type=OFF; Warnings: Warning 1287 '@@query_cache_type' is deprecated and will be removed in a future release. SET GLOBAL query_cache_size=1024*1024; Warnings: Warning 1287 '@@query_cache_size' is deprecated and will be removed in a future release. SHOW GLOBAL VARIABLES LIKE 'query_cache_size'; Variable_name Value query_cache_size 1048576 SET GLOBAL query_cache_size=DEFAULT; Warnings: Warning 1287 '@@query_cache_size' is deprecated and will be removed in a future release. # # BUG#16906827 - CAN'T SET QUERY_CACHE_TYPE TO 0 WHEN IT IS ALREADY 0 # SHOW GLOBAL VARIABLES LIKE 'query_cache_type'; Variable_name Value query_cache_type OFF # This statement will pass if run with the fix and fail with # ER_QUERY_CACHE_DISABLED if run without the fix. SET GLOBAL query_cache_type=OFF; Warnings: Warning 1287 '@@query_cache_type' is deprecated and will be removed in a future release. SET GLOBAL query_cache_type=ON; ERROR HY000: Query cache is disabled; restart the server with query_cache_type=1 to enable it SET GLOBAL query_cache_type=DEMAND; ERROR HY000: Query cache is disabled; restart the server with query_cache_type=1 to enable it # This statement will pass if run with the fix and fail with # ER_QUERY_CACHE_DISABLED if run without the fix. SET SESSION query_cache_type=OFF; Warnings: Warning 1287 '@@query_cache_type' is deprecated and will be removed in a future release. SET SESSION query_cache_type=ON; ERROR HY000: Query cache is disabled; restart the server with query_cache_type=1 to enable it SET SESSION query_cache_type=DEMAND; ERROR HY000: Query cache is disabled; restart the server with query_cache_type=1 to enable it