Skip to content

Commit

Permalink
fix flat allocator tests to work with new connection buffer group scheme
Browse files Browse the repository at this point in the history
Summary: n/a

Reviewed By: ps

Test Plan: passed flat allocator tests.

Revert: OK
  • Loading branch information
ttung committed Sep 19, 2008
1 parent 6daf674 commit ce8fca0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/flat_storage_tests/memcached.h
Original file line number Diff line number Diff line change
Expand Up @@ -114,10 +114,13 @@ extern const char indent_str[257];


#include "items.h"
#include "conn_buffer.h"


typedef struct conn_s conn;
struct conn_s {
conn_buffer_group_t* cbg;

bool binary;

struct iovec* riov; /* read iov */
Expand Down Expand Up @@ -229,9 +232,6 @@ extern bool lru_check(void);
extern bool item_chunk_check(const item* it);
extern int verify_key(const item* it, const char* key);

#define alloc_conn_buffer do_alloc_conn_buffer
#define conn_buffer_reclamation do_conn_buffer_reclamation

#define STATS_LOCK() ;
#define STATS_UNLOCK() ;

Expand Down

0 comments on commit ce8fca0

Please sign in to comment.