Commit 70456fe9 authored by Rich Prohaska's avatar Rich Prohaska Committed by Yoni Fogel

#3008 fix some compile problems refs[t:3008]

git-svn-id: file:///svn/toku/tokudb@25159 c7de825b-a66e-492c-adef-691d508d4ae1
parent e48ddc7c
...@@ -155,7 +155,7 @@ test_provdel(const char *logdir, const char *fname, int n) { ...@@ -155,7 +155,7 @@ test_provdel(const char *logdir, const char *fname, int n) {
assert((int) toku_htonl(i) == ii); assert((int) toku_htonl(i) == ii);
LEAFENTRY le = (LEAFENTRY) val.data; LEAFENTRY le = (LEAFENTRY) val.data;
assert(le->attributes == LE_MVCC); assert(le->type == LE_MVCC);
} }
assert(i == n); assert(i == n);
......
...@@ -161,7 +161,7 @@ test_pos_infinity(const char *fname, int n) { ...@@ -161,7 +161,7 @@ test_pos_infinity(const char *fname, int n) {
assert((int) toku_htonl(i) == ii); assert((int) toku_htonl(i) == ii);
LEAFENTRY le = (LEAFENTRY) val.data; LEAFENTRY le = (LEAFENTRY) val.data;
assert(le->attributes == LE_MVCC); assert(le->type == LE_MVCC);
} }
assert(i == n); assert(i == n);
...@@ -222,7 +222,7 @@ test_between(const char *fname, int n) { ...@@ -222,7 +222,7 @@ test_between(const char *fname, int n) {
assert((int) toku_htonl(i) == ii); assert((int) toku_htonl(i) == ii);
LEAFENTRY le = (LEAFENTRY) val.data; LEAFENTRY le = (LEAFENTRY) val.data;
assert(le->attributes == LE_MVCC); assert(le->type == LE_MVCC);
// test that 0 .. i is not right of the cursor // test that 0 .. i is not right of the cursor
for (int j = 0; j <= i; j++) { for (int j = 0; j <= i; j++) {
......
...@@ -121,7 +121,7 @@ walk_tree(const char *fname, int n) { ...@@ -121,7 +121,7 @@ walk_tree(const char *fname, int n) {
assert((int) toku_htonl(i) == ii); assert((int) toku_htonl(i) == ii);
LEAFENTRY le = (LEAFENTRY) val.data; LEAFENTRY le = (LEAFENTRY) val.data;
assert(le->attributes == LE_MVCC); assert(le->type == LE_MVCC);
} }
assert(i == n); assert(i == n);
......
...@@ -78,7 +78,7 @@ enum { ...@@ -78,7 +78,7 @@ enum {
static void static void
test_le_fixed_offsets (void) { test_le_fixed_offsets (void) {
LEAFENTRY XMALLOC(le); LEAFENTRY XMALLOC(le);
test_le_offset_is(le, &le->attributes, LE_OFFSET_NUM); test_le_offset_is(le, &le->type, LE_OFFSET_NUM);
test_le_offset_is(le, &le->keylen, LE_OFFSET_KEYLEN); test_le_offset_is(le, &le->keylen, LE_OFFSET_KEYLEN);
toku_free(le); toku_free(le);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment