summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorunknown <monty@hundin.mysql.fi>2001-12-06 01:05:30 +0200
committerunknown <monty@hundin.mysql.fi>2001-12-06 01:05:30 +0200
commitff8c7348648b2a2e1ce14d8332c065a38a43ca0c (patch)
treeb6eaff9c9c574324b7a2aae18f5de2e52f89576c /include
parent84788e278f97ccabe0cfe6d5b6cfcdbe1fe86c59 (diff)
downloadmariadb-git-ff8c7348648b2a2e1ce14d8332c065a38a43ca0c.tar.gz
Update of query cache code
Docs/manual.texi: Added information about RESET sql/mysql_priv.h: Fixed wrong type sql/sql_base.cc: Removed wrong info in DBUG output sql/sql_class.cc: cleanup sql/sql_parse.cc: Fixed wrong type
Diffstat (limited to 'include')
-rw-r--r--include/mysql_com.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/mysql_com.h b/include/mysql_com.h
index 16f603516f9..4c6355e9f7c 100644
--- a/include/mysql_com.h
+++ b/include/mysql_com.h
@@ -78,8 +78,9 @@ enum enum_server_command {COM_SLEEP,COM_QUIT,COM_INIT_DB,COM_QUERY,
#define REFRESH_READ_LOCK 16384 /* Lock tables for read */
#define REFRESH_FAST 32768 /* Intern flag */
-#define REFRESH_QUERY_CACHE 65536 /* flush query cache */
-#define REFRESH_QUERY_CACHE_FREE 0x10000L /* pack query cache */
+/* RESET (remove all queries) from query cache */
+#define REFRESH_QUERY_CACHE 65536
+#define REFRESH_QUERY_CACHE_FREE 0x20000L /* pack query cache */
#define CLIENT_LONG_PASSWORD 1 /* new more secure passwords */
#define CLIENT_FOUND_ROWS 2 /* Found instead of affected rows */