Commit 4c337193 authored by Rich Prohaska's avatar Rich Prohaska Committed by Yoni Fogel

rename __rolltmp to __tokudb_rolltmp closes[t:2184]

git-svn-id: file:///svn/toku/tokudb@15884 c7de825b-a66e-492c-adef-691d508d4ae1
parent 0af18bc8
......@@ -731,7 +731,7 @@ static int toku_delete_rolltmp_files (const char *log_dir) {
}
int result = 0;
while ((de=readdir(d))) {
char rolltmp_prefix[] = "__rolltmp.";
char rolltmp_prefix[] = "__tokudb_rolltmp.";
int r = memcmp(de->d_name, rolltmp_prefix, sizeof(rolltmp_prefix) - 1);
if (r == 0) {
int fnamelen = strlen(log_dir) + strlen(de->d_name) + 2; // One for the slash and one for the trailing NUL.
......
......@@ -240,7 +240,7 @@ int toku_maybe_spill_rollbacks (TOKUTXN txn) {
assert((ssize_t)w.ndone==bufsize);
txn->oldest_logentry = txn->newest_logentry = 0;
if (txn->rollentry_fd<0) {
const char filenamepart[] = "/__rolltmp.";
const char filenamepart[] = "/__tokudb_rolltmp.";
int fnamelen = strlen(txn->logger->directory)+sizeof(filenamepart)+16;
assert(txn->rollentry_filename==0);
txn->rollentry_filename = toku_malloc(fnamelen);
......
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