Commit d90df34e authored by Rich Prohaska's avatar Rich Prohaska Committed by Yoni Fogel
Browse files

#4488 fix complilation problems refs[t:4488]

git-svn-id: file:///svn/toku/tokudb@39664 c7de825b-a66e-492c-adef-691d508d4ae1
parent 44dc2fbf
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -295,12 +295,14 @@ static int UU() xmalloc_free_op(DB_TXN* UU(txn), ARG UU(arg), void* UU(operation
    return 0;
}

#if DONT_DEPRECATE_MALLOC
static int UU() malloc_free_op(DB_TXN* UU(txn), ARG UU(arg), void* UU(operation_extra)) {
    size_t s = 256;
    void *p = malloc(s);
    free(p);
    return 0;
}
#endif

static int UU() loader_op(DB_TXN* txn, ARG UU(arg), void* UU(operation_extra)) {
    DB_ENV* env = arg->env;
@@ -355,12 +357,12 @@ static int UU() keyrange_op(DB_TXN *txn, ARG arg, void* UU(operation_extra)) {
}

static int UU() verify_op(DB_TXN* UU(txn), ARG UU(arg), void* UU(operation_extra)) {
    int r;
    int r = 0;
    for (int i = 0; i < arg->num_DBs; i++) {
        DB* db = arg->dbp[i];
        r = db->verify_with_progress(db, NULL, NULL, 0, 0);
    }
        CKERR(r);
    }
    return r;
}