Skip to content

Commit

Permalink
TEST: Unset an environment variable for topkeys
Browse files Browse the repository at this point in the history
  • Loading branch information
ing-eoking authored and jhpark816 committed Mar 5, 2024
1 parent f8e9de7 commit e4dc39e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions mc_util.c
Original file line number Diff line number Diff line change
Expand Up @@ -628,11 +628,12 @@ ENGINE_ERROR_CODE tokenize_sblocks(mblck_list_t *blist, int keylen, int keycnt,
*/

/* event handlers structure */
static struct engine_event_handler {
struct engine_event_handler {
EVENT_CALLBACK cb;
const void *cb_data;
struct engine_event_handler *next;
} *engine_event_handlers[MAX_ENGINE_EVENT_TYPE + 1];
};
static struct engine_event_handler *engine_event_handlers[MAX_ENGINE_EVENT_TYPE + 1];

/*
* Register a callback.
Expand Down
2 changes: 1 addition & 1 deletion mc_util.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#ifndef MC_UTIL_H
#define MC_UTIL_H

#include <memcached/engine.h>
#include <memcached/callback.h>
#include <memcached/extension.h>

/* length of string representing 4 bytes integer is 10 */
Expand Down

0 comments on commit e4dc39e

Please sign in to comment.