Commit 3d2c57fa authored by Zardosht Kasheff's avatar Zardosht Kasheff

addresses #846

change flag in toku_db_remove from DB_BTREE to DB_UNKNOWN

git-svn-id: file:///svn/tokudb@4203 c7de825b-a66e-492c-adef-691d508d4ae1
parent 84ef2b2e
......@@ -2467,7 +2467,7 @@ static int toku_db_remove(DB * db, const char *fname, const char *dbname, u_int3
//TODO: Verify DB* db not yet opened
//TODO: Verify db file not in use. (all dbs in the file must be unused)
r = toku_db_open(db, NULL, fname, dbname, DB_BTREE, 0, 0777);
r = toku_db_open(db, NULL, fname, dbname, DB_UNKNOWN, 0, 0777);
if (r!=0) { goto cleanup; }
if (db->i->lt) {
/* Lock tree exists, therefore:
......
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