Commit 7f8dee53 authored by Leif Walsh's avatar Leif Walsh

guarded new DBT_ARRAY api functions with #ifdef USE_TDB #31

BDB versions of tests fail to compile because DBT_ARRAY is undeclared.
parent 6e12defe
...@@ -400,6 +400,8 @@ static void copy_dbt(DBT *dest, const DBT *src) { ...@@ -400,6 +400,8 @@ static void copy_dbt(DBT *dest, const DBT *src) {
memcpy(dest->data, src->data, src->size); memcpy(dest->data, src->data, src->size);
} }
// DBT_ARRAY is a toku-specific type
#ifdef USE_TDB
UU() UU()
static int static int
env_update_multiple_test_no_array( env_update_multiple_test_no_array(
...@@ -504,6 +506,7 @@ static int env_del_multiple_test_no_array( ...@@ -504,6 +506,7 @@ static int env_del_multiple_test_no_array(
} }
return r; return r;
} }
#endif
/* Some macros for evaluating blocks or functions within the scope of a /* Some macros for evaluating blocks or functions within the scope of a
* transaction. */ * transaction. */
......
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