diff options
author | dormando <dormando@rydia.net> | 2020-08-29 23:15:23 -0700 |
---|---|---|
committer | dormando <dormando@rydia.net> | 2020-10-30 15:50:12 -0700 |
commit | 416a7a10014299fd08bf4b35e4ffa0870cd330b0 (patch) | |
tree | 6c767d9538b00bae8a393e609a73790e015d6610 /proto_bin.c | |
parent | df49d38930a32d342e1a3ab980c1ec432d138c2c (diff) | |
download | memcached-416a7a10014299fd08bf4b35e4ffa0870cd330b0.tar.gz |
core: move more storage functions to storage.c
extstore.h is now only used from storage.c. starting a path towards
getting the storage interface to be more generalized.
should be no functional changes.
Diffstat (limited to 'proto_bin.c')
-rw-r--r-- | proto_bin.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/proto_bin.c b/proto_bin.c index 3e9c38f..70b196f 100644 --- a/proto_bin.c +++ b/proto_bin.c @@ -6,6 +6,7 @@ #include "memcached.h" #include "proto_bin.h" +#include "storage.h" #ifdef TLS #include "tls.h" #endif @@ -523,7 +524,7 @@ static void process_bin_get_or_touch(conn *c, char *extbuf) { /* Add the data minus the CRLF */ #ifdef EXTSTORE if (it->it_flags & ITEM_HDR) { - if (_get_extstore(c, it, c->resp) != 0) { + if (storage_get_item(c, it, c->resp) != 0) { pthread_mutex_lock(&c->thread->stats.mutex); c->thread->stats.get_oom_extstore++; pthread_mutex_unlock(&c->thread->stats.mutex); |