diff options
author | unknown <monty@mashka.mysql.fi> | 2002-09-24 17:11:59 +0300 |
---|---|---|
committer | unknown <monty@mashka.mysql.fi> | 2002-09-24 17:11:59 +0300 |
commit | c245f4244bb1c2a44dd5936e722d2579ca6cd4a3 (patch) | |
tree | c36011e1dbf0de5f6ea6b6280a6f62bd5975c73e /sql/sql_cache.h | |
parent | 617274f7235f5c7cffa5f535a925ce6eb40336c8 (diff) | |
download | mariadb-git-c245f4244bb1c2a44dd5936e722d2579ca6cd4a3.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
Docs/manual.texi:
Changelog
VC++Files/bdb/bdb.dsp:
Updated project files for 4.0.4
VC++Files/client/mysqlclient.dsp:
Updated project files for 4.0.4
VC++Files/innobase/innobase.dsp:
Updated project files for 4.0.4
VC++Files/mysqlbinlog/mysqlbinlog.dsp:
Updated project files for 4.0.4
VC++Files/mysys/mysys.dsp:
Updated project files for 4.0.4
VC++Files/perror/perror.dsp:
Updated project files for 4.0.4
VC++Files/sql/mysqld.dsp:
Updated project files for 4.0.4
client/mysqldump.c:
Only write short usage if one starts mysqldump without any options
include/config-win.h:
Added query cache on windows
libmysql/libmysql.def:
Removed old depricated functions from windows dll
sql/ha_innodb.cc:
Added missing defines
sql/set_var.cc:
Code cleanup
sql/sql_acl.cc:
Added error message if one can't read privilege tables
sql/sql_cache.h:
Changed some C linkage functions to C++ functions (portability fix)
sql/sql_class.cc:
Safety fix
Diffstat (limited to 'sql/sql_cache.h')
-rw-r--r-- | sql/sql_cache.h | 11 |
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); |