summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBo Peng2025-01-05 12:49:39 +0000
committerBo Peng2025-01-05 12:49:39 +0000
commit520d2e5b52b9f8dbedee422de4bc4aba0512889e (patch)
tree1192167728d4923e8c1280c92bce036e2ca67b6a /src
parentb60d5eb8ffa52d30cd4996b189e46daf3f201937 (diff)
Fix compiler warning:
warning: ‘delete_all_cache_on_memcached’ declared ‘static’ but never defined[-Wunused-function]
Diffstat (limited to 'src')
-rw-r--r--src/query_cache/pool_memqcache.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/query_cache/pool_memqcache.c b/src/query_cache/pool_memqcache.c
index 81d95cd56..cc702074d 100644
--- a/src/query_cache/pool_memqcache.c
+++ b/src/query_cache/pool_memqcache.c
@@ -125,7 +125,9 @@ static volatile POOL_HASH_ELEMENT *get_new_hash_element(void);
static void put_back_hash_element(volatile POOL_HASH_ELEMENT * element);
static bool is_free_hash_element(void);
static void inject_cached_message(POOL_CONNECTION * backend, char *qcache, int qcachelen);
+#ifdef USE_MEMCACHED
static int delete_all_cache_on_memcached(void);
+#endif
static char *create_fake_cache(size_t *len);
/*