Commit 56004ecc authored by Barry Perlman's avatar Barry Perlman Committed by Yoni Fogel

Decruftify by removing redundant line of code.


git-svn-id: file:///svn/toku/tokudb@14526 c7de825b-a66e-492c-adef-691d508d4ae1
parent 96741a6d
......@@ -3154,7 +3154,6 @@ static int toku_db_open(DB * db, DB_TXN * txn, const char *fname, const char *db
int is_db_rdonly = flags & DB_RDONLY; flags&=~DB_RDONLY;
//We support READ_UNCOMMITTED whether or not the flag is provided.
flags&=~DB_READ_UNCOMMITTED;
if (dbtype != DB_UNKNOWN && dbtype != DB_BTREE) return EINVAL;
if (flags & ~DB_THREAD) return EINVAL; // unknown flags
if (is_db_excl && !is_db_create) return EINVAL;
......
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