Commit 0d4cec4d authored by John Esmet's avatar John Esmet

Fix USE_BDB build

parent ac094fa8
...@@ -269,6 +269,7 @@ if(BUILD_TESTING OR BUILD_SRC_TESTS) ...@@ -269,6 +269,7 @@ if(BUILD_TESTING OR BUILD_SRC_TESTS)
test_db_descriptor test_db_descriptor
test_db_descriptor_named_db test_db_descriptor_named_db
test_db_txn_locks_read_uncommitted test_db_txn_locks_read_uncommitted
test_equal_keys_with_different_bytes
test_get_max_row_size test_get_max_row_size
test_insert_many_gc test_insert_many_gc
test_iterate_live_transactions test_iterate_live_transactions
......
...@@ -98,7 +98,7 @@ static int compare_strings_case_insensitive(DB *db, const DBT *a, const DBT *b) ...@@ -98,7 +98,7 @@ static int compare_strings_case_insensitive(DB *db, const DBT *a, const DBT *b)
reinterpret_cast<char *>(b->data)); reinterpret_cast<char *>(b->data));
} }
static void test_equal_keys_with_unequal_bytes(void) { static void test_equal_keys_with_different_bytes(void) {
int r; int r;
DB_ENV *env; DB_ENV *env;
...@@ -143,7 +143,7 @@ test_main(int argc, char *const argv[]) { ...@@ -143,7 +143,7 @@ test_main(int argc, char *const argv[]) {
toku_os_recursive_delete(TOKU_TEST_FILENAME); toku_os_recursive_delete(TOKU_TEST_FILENAME);
int r = toku_os_mkdir(TOKU_TEST_FILENAME, S_IRWXU+S_IRWXG+S_IRWXO); CKERR(r); int r = toku_os_mkdir(TOKU_TEST_FILENAME, S_IRWXU+S_IRWXG+S_IRWXO); CKERR(r);
test_equal_keys_with_unequal_bytes(); test_equal_keys_with_different_bytes();
return 0; return 0;
} }
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