Commit e191dd01 authored by Barry Perlman's avatar Barry Perlman Committed by Yoni Fogel

Merged from 2.0.0 branch with command:

svn merge -r12118:HEAD ../../mysql.branches/2.0.0/tokudb/

git-svn-id: file:///svn/toku/tokudb@12124 c7de825b-a66e-492c-adef-691d508d4ae1
parent 845f7c37
...@@ -92,9 +92,9 @@ const struct logtype rollbacks[] = { ...@@ -92,9 +92,9 @@ const struct logtype rollbacks[] = {
const struct logtype logtypes[] = { const struct logtype logtypes[] = {
// Records produced by checkpoints // Records produced by checkpoints
{"begin_checkpoint", 'x', FA{NULLFIELD}}, {"begin_checkpoint", 'x', FA{NULLFIELD}},
{"end_checkpoint", 'X', FA{{"TXNID", "txnid", 0}, NULLFIELD}}, {"end_checkpoint", 'X', FA{{"TXNID", "txnid", 0}, NULLFIELD}}, // TXNID is LSN of begin_checkpoint
{"fassociate", 'f', FA{{"FILENUM", "filenum", 0}, {"fassociate", 'f', FA{{"FILENUM", "filenum", 0},
{"BYTESTRING", "fname", 0}, {"BYTESTRING", "fname", 0}, // pathname of file
NULLFIELD}}, NULLFIELD}},
{"xstillopen", 's', FA{{"TXNID", "txnid", 0}, NULLFIELD}}, // only record root transactions {"xstillopen", 's', FA{{"TXNID", "txnid", 0}, NULLFIELD}}, // only record root transactions
// Reords produced by transactions // Reords produced by transactions
......
...@@ -92,7 +92,7 @@ void checkpoint_callback_1(void * extra) { ...@@ -92,7 +92,7 @@ void checkpoint_callback_1(void * extra) {
int int
test_main (int argc, char *argv[]) { test_main (int argc, char *argv[]) {
int limit = 512; int limit = 4;
parse_args(argc, argv); parse_args(argc, argv);
db_env_set_checkpoint_callback(checkpoint_callback_1, &test_dictionary); db_env_set_checkpoint_callback(checkpoint_callback_1, &test_dictionary);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment