mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 06:44:16 +01:00
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:
parent
5ed2e4dc34
commit
39a61f0312
1 changed files with 0 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue