summaryrefslogtreecommitdiff
path: root/sql/sql_cache.h
diff options
context:
space:
mode:
authormonty@mashka.mysql.fi <>2002-09-24 17:11:59 +0300
committermonty@mashka.mysql.fi <>2002-09-24 17:11:59 +0300
commitefaaf0b4b8190a7288ae686a6108bc809237dc52 (patch)
treec36011e1dbf0de5f6ea6b6280a6f62bd5975c73e /sql/sql_cache.h
parent108f2ccb4b034f1c5094a891b60d810b648fdc38 (diff)
downloadmariadb-git-efaaf0b4b8190a7288ae686a6108bc809237dc52.tar.gz
Updated VC++ project files for 4.0.4
Only write short usage if one starts mysqldump without any options Added query cache on windows Added error message if one can't read privilege tables
Diffstat (limited to 'sql/sql_cache.h')
-rw-r--r--sql/sql_cache.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/sql/sql_cache.h b/sql/sql_cache.h
index 52d2e8998a7..f19e6630da5 100644
--- a/sql/sql_cache.h
+++ b/sql/sql_cache.h
@@ -170,16 +170,16 @@ struct Query_cache_result
};
-extern "C" {
+extern "C"
+{
byte *query_cache_query_get_key(const byte *record, uint *length,
my_bool not_used);
byte *query_cache_table_get_key(const byte *record, uint *length,
my_bool not_used);
- void query_cache_insert(THD *thd, const char *packet, ulong length);
- void query_cache_end_of_result(THD *thd);
- void query_cache_abort(THD *thd);
- void query_cache_invalidate_by_MyISAM_filename(const char* filename);
}
+void query_cache_insert(NET *thd, const char *packet, ulong length);
+void query_cache_invalidate_by_MyISAM_filename(const char* filename);
+
struct Query_cache_memory_bin
{
@@ -401,7 +401,6 @@ protected:
extern Query_cache query_cache;
extern TYPELIB query_cache_type_typelib;
-void query_cache_insert(NET *net, const char *packet, ulong length);
void query_cache_end_of_result(NET *net);
void query_cache_abort(NET *net);