mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 23:04:20 +01:00
Addresses #394
Removed deprecated (unused) code. git-svn-id: file:///svn/tokudb@4122 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
b846ceaa9a
commit
45ab3f10cc
1 changed files with 0 additions and 9 deletions
|
@ -1087,15 +1087,6 @@ static inline void toku_swap_flag(u_int32_t* flag, u_int32_t* get_flag,
|
|||
*flag += *get_flag;
|
||||
}
|
||||
|
||||
static inline int toku_uninitialized_swap(DBC* c, DBT* key, DBT* data,
|
||||
u_int32_t* flag, u_int32_t* get_flag,
|
||||
u_int32_t new_flag) {
|
||||
/* DB_FIRST/DB_LAST do nothing in pre_lock so we can skip the goto. */
|
||||
if (toku_c_uninitialized(c)) toku_swap_flag(flag, get_flag, new_flag);
|
||||
else return toku_c_get_current_unconditional(c, key, data);
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*
|
||||
Used for partial implementation of nested transactions.
|
||||
Work is done by children as normal, but all locking is done by the
|
||||
|
|
Loading…
Add table
Reference in a new issue