mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 23:04:20 +01:00
Get rid of dead code in fingerprint. Addresses #1195.
git-svn-id: file:///svn/toku/tokudb.1195@7467 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
7a1f2d5706
commit
196d6a25b0
1 changed files with 0 additions and 17 deletions
|
@ -37,20 +37,3 @@ u_int32_t toku_calc_fingerprint_cmd (u_int32_t type, TXNID xid, const void *key,
|
|||
toku_calc_more_murmur_kvpair(&mm, key, keylen, val, vallen);
|
||||
return x1764_finish(&mm);
|
||||
}
|
||||
|
||||
u_int32_t toku_calc_fingerprint_cmdstruct (BRT_CMD cmd) {
|
||||
switch (cmd->type) {
|
||||
case BRT_INSERT:
|
||||
case BRT_DELETE_ANY:
|
||||
case BRT_DELETE_BOTH:
|
||||
case BRT_COMMIT_ANY:
|
||||
case BRT_COMMIT_BOTH:
|
||||
case BRT_ABORT_ANY:
|
||||
case BRT_ABORT_BOTH:
|
||||
return toku_calc_fingerprint_cmd (cmd->type, cmd->xid, cmd->u.id.key->data, cmd->u.id.key->size, cmd->u.id.val->data, cmd->u.id.val->size);
|
||||
case BRT_NONE:
|
||||
return 0;
|
||||
}
|
||||
assert(0); /* Should not have come here. */
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue