mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
Fixed compile failure when we don't use system zlib
Fixed crash when setting query_cache_type to 0. client/Makefile.am: Added zlib include (needed by checksum.c) sql/set_var.cc: Updated call to disable_query_cache() sql/sql_cache.cc: Don't give warning if we start mysqld with --query_cache_type=0 --query_cache-size=0 Fixed crash when setting query_cache_type to 0 (we shouldn't call query_cache.disable_query_cache() when there is no current_thd) sql/sql_cache.h: Added THD to disable_query_cache()
This commit is contained in:
@ -499,7 +499,7 @@ protected:
|
||||
void lock_and_suspend(void);
|
||||
void unlock(void);
|
||||
|
||||
void disable_query_cache(void);
|
||||
void disable_query_cache(THD *thd);
|
||||
};
|
||||
|
||||
extern Query_cache query_cache;
|
||||
|
Reference in New Issue
Block a user