mirror of
https://github.com/MariaDB/server.git
synced 2025-01-23 15:24:16 +01:00
addresses #293
Fixed an error in assertions git-svn-id: file:///svn/tokudb@1860 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
e711fbada5
commit
a1872a315f
1 changed files with 2 additions and 1 deletions
|
@ -356,7 +356,8 @@ static void __toku_payload_from_dbt(void** payload, u_int32_t* len,
|
||||||
|
|
||||||
static void __toku_init_point(toku_point* point, toku_lock_tree* tree,
|
static void __toku_init_point(toku_point* point, toku_lock_tree* tree,
|
||||||
const DBT* key, const DBT* data) {
|
const DBT* key, const DBT* data) {
|
||||||
assert(point && tree && key && data);
|
assert(point && tree && key);
|
||||||
|
assert((tree->duplicates != 0) == (data != NULL));
|
||||||
memset(point, 0, sizeof(toku_point));
|
memset(point, 0, sizeof(toku_point));
|
||||||
point->lt = tree;
|
point->lt = tree;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue