Commit 8aa249a2 authored by Leif Walsh's avatar Leif Walsh Committed by Rich Prohaska

guarded new DBT_ARRAY api functions with #ifdef USE_TDB #31

BDB versions of tests fail to compile because DBT_ARRAY is undeclared.
parent dd20367f
...@@ -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