mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 06:44:16 +01:00
Get rid of array overflow in recovery. Addresses #548.
git-svn-id: file:///svn/tokudb@2893 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
979ae62544
commit
2fc3ca7863
1 changed files with 1 additions and 1 deletions
|
@ -302,7 +302,7 @@ void toku_recover_changechildfingerprint (LSN lsn, FILENUM filenum, DISKOFF disk
|
|||
assert(r==0);
|
||||
BRTNODE node = node_v;
|
||||
assert(node->height>0);
|
||||
assert((signed)childnum < node->u.n.n_children);
|
||||
assert((signed)childnum <= node->u.n.n_children); // we allow the childnum to be one too large.
|
||||
BNC_SUBTREE_FINGERPRINT(node, childnum) = newfingerprint;
|
||||
node->log_lsn = lsn;
|
||||
r = toku_cachetable_unpin(pair->cf, diskoff, 1, toku_serialize_brtnode_size(node));
|
||||
|
|
Loading…
Add table
Reference in a new issue