projects
/
pgpool2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
| inline |
side by side
(parent:
b60d5eb
)
Fix compiler warning:
author
Bo Peng
<
[email protected]
>
Sun, 5 Jan 2025 12:49:39 +0000
(21:49 +0900)
committer
Bo Peng
<
[email protected]
>
Sun, 5 Jan 2025 12:49:39 +0000
(21:49 +0900)
warning: ‘delete_all_cache_on_memcached’ declared ‘static’ but never defined[-Wunused-function]
src/query_cache/pool_memqcache.c
|
blob
|
blame
|
history
diff --git
a/src/query_cache/pool_memqcache.c
b/src/query_cache/pool_memqcache.c
index 81d95cd566737a9c5c0490c96f8745d6384cfb4e..cc702074d38c1879dbb3ee77cd5af0e66518d642 100644
(file)
--- 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);
/*