~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/log.cc

  • Committer: Monty Taylor
  • Date: 2008-10-02 20:45:51 UTC
  • mfrom: (413.2.3 drizzle)
  • Revision ID: monty@inaugust.com-20081002204551-gousb6hhqlr6q1br
Merged with trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2131
2131
  bool error=0;
2132
2132
  const char* save_name;
2133
2133
 
2134
 
  ha_reset_logs(thd);
2135
2134
  /*
2136
2135
    We need to get both locks to be sure that no one is trying to
2137
2136
    write to the index log file.
2475
2474
      }
2476
2475
    }
2477
2476
 
2478
 
    ha_binlog_index_purge_file(current_thd, log_info.log_file_name);
2479
 
 
2480
2477
    if (find_next_log(&log_info, 0) || exit_loop)
2481
2478
      break;
2482
2479
  }
2593
2590
          goto err;
2594
2591
        }
2595
2592
      }
2596
 
      ha_binlog_index_purge_file(current_thd, log_info.log_file_name);
2597
2593
    }
2598
2594
    if (find_next_log(&log_info, 0))
2599
2595
      break;