Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d23ae4e commit 31d0ec2Copy full SHA for 31d0ec2
src/backend/vprofiler/trace_tool.cc
@@ -249,7 +249,7 @@ void *TraceTool::check_write_log(void *arg) {
249
dump data to log files. */
250
while (true) {
251
sleep(5);
252
- instance->log_file << "Checking" << endl;
+ log_file << "Checking" << endl;
253
timespec now = get_time();
254
if (now.tv_sec - global_last_query.tv_sec >= 5 && transaction_id > 0) {
255
/* Create a new TraceTool instnance. */
@@ -261,7 +261,7 @@ void *TraceTool::check_write_log(void *arg) {
261
262
/* Dump data in the old instance to log files and
263
reclaim memory. */
264
- instance->log_file << "Writing data to file" << endl;
+ log_file << "Writing data to file" << endl;
265
old_instace->write_log();
266
delete old_instace;
267
}
0 commit comments