Decruftify by removing redundant line of code.

git-svn-id: file:///svn/toku/tokudb@14526 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
Barry Perlman 2013-04-16 23:58:01 -04:00 committed by Yoni Fogel
parent 5ed2e4dc34
commit 39a61f0312

View file

@ -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;