Commit d7582480 authored by Rich Prohaska's avatar Rich Prohaska Committed by Yoni Fogel

rename toku_test_db_redirect closes[t:2519]

git-svn-id: file:///svn/toku/tokudb@19425 c7de825b-a66e-492c-adef-691d508d4ae1
parent dc767fd0
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
toku_do_assert_fail; toku_do_assert_fail;
toku_set_assert_on_write_enospc; toku_set_assert_on_write_enospc;
test_db_redirect_dictionary; toku_test_db_redirect_dictionary;
local: *; local: *;
}; };
......
...@@ -189,7 +189,7 @@ redirect_dictionary(char *new_dname, int r_expect) { ...@@ -189,7 +189,7 @@ redirect_dictionary(char *new_dname, int r_expect) {
int r; int r;
DB *db = dbs[0]; DB *db = dbs[0];
assert(db!=NULL); assert(db!=NULL);
r = test_db_redirect_dictionary(db, new_dname, txn); // ydb-level wrapper gets iname of new file and redirects r = toku_test_db_redirect_dictionary(db, new_dname, txn); // ydb-level wrapper gets iname of new file and redirects
CKERR2(r, r_expect); CKERR2(r, r_expect);
if (r==0) { if (r==0) {
dname = new_dname; dname = new_dname;
......
...@@ -5657,7 +5657,7 @@ locked_ydb_load_inames(DB_ENV * env, DB_TXN * txn, int N, DB * dbs[N], char * ne ...@@ -5657,7 +5657,7 @@ locked_ydb_load_inames(DB_ENV * env, DB_TXN * txn, int N, DB * dbs[N], char * ne
// we don't need to test the low-level redirect anymore. // we don't need to test the low-level redirect anymore.
// for use by test programs only, just a wrapper around brt call: // for use by test programs only, just a wrapper around brt call:
int int
test_db_redirect_dictionary(DB * db, char * dname_of_new_file, DB_TXN *dbtxn) { toku_test_db_redirect_dictionary(DB * db, char * dname_of_new_file, DB_TXN *dbtxn) {
int r; int r;
DBT dname_dbt; DBT dname_dbt;
DBT iname_dbt; DBT iname_dbt;
......
...@@ -20,6 +20,6 @@ int db_env_create_toku10(DB_ENV **, u_int32_t) __attribute__((__visibility__("de ...@@ -20,6 +20,6 @@ int db_env_create_toku10(DB_ENV **, u_int32_t) __attribute__((__visibility__("de
int db_create_toku10(DB **, DB_ENV *, u_int32_t) __attribute__((__visibility__("default"))); int db_create_toku10(DB **, DB_ENV *, u_int32_t) __attribute__((__visibility__("default")));
// test only function // test only function
int test_db_redirect_dictionary(DB * db, char * dname_of_new_file, DB_TXN *dbtxn) __attribute__((__visibility__("default"))); int toku_test_db_redirect_dictionary(DB * db, char * dname_of_new_file, DB_TXN *dbtxn) __attribute__((__visibility__("default")));
#endif #endif
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