Commit 8a8e5a50 authored by Sergey Petrunya's avatar Sergey Petrunya

Fix compile failure when built without query cache: define

QUERY_CACHE_DB_LENGTH_SIZE 0, just like it is done with
QUERY_CACHE_FLAGS_SIZE.
parent a0c1ada9
...@@ -1068,6 +1068,7 @@ struct Query_cache_query_flags ...@@ -1068,6 +1068,7 @@ struct Query_cache_query_flags
(((L)->sql_command == SQLCOM_SELECT) && (L)->safe_to_cache_query) (((L)->sql_command == SQLCOM_SELECT) && (L)->safe_to_cache_query)
#else #else
#define QUERY_CACHE_FLAGS_SIZE 0 #define QUERY_CACHE_FLAGS_SIZE 0
#define QUERY_CACHE_DB_LENGTH_SIZE 0
#define query_cache_store_query(A, B) do { } while(0) #define query_cache_store_query(A, B) do { } while(0)
#define query_cache_destroy() do { } while(0) #define query_cache_destroy() do { } while(0)
#define query_cache_result_size_limit(A) do { } while(0) #define query_cache_result_size_limit(A) do { } while(0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment