mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
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
This commit is contained in:
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user