Browse files

Merge branch 'master' of github.com:q4m/q4m

  • Loading branch information...
2 parents fc345cc + 1ac7e86 commit 61b2830065f3bf3393cc90f0d993c55a3997eebb @kazuho kazuho committed May 9, 2011
Showing with 8 additions and 4 deletions.
  1. +8 −4 src/ha_queue.cc
View
12 src/ha_queue.cc
@@ -1851,8 +1851,8 @@ my_off_t queue_share_t::compact_do_copy(queue_compact_writer &writer, info_t* in
if (err != 0) {
goto ERROR;
}
- log("accepted commits during compaction, changing end from %llu to %llu\n",
- end_off, info->_header.end());
+ log("accepted commits during compaction, changing end from %llu to %llu\n (off: %llu, writer.off: %llu)\n",
+ end_off, info->_header.end(), off, writer.off);
end_off = info->_header.end();
}
if (writer_do_wake_listeners && wake_listeners(true)) {
@@ -1886,7 +1886,9 @@ my_off_t queue_share_t::compact_do_copy(queue_compact_writer &writer, info_t* in
int queue_share_t::compact(info_t *info)
{
- log("starting table compaction: %s\n", table_name);
+ log("starting table compaction: %s (begin: %llu, end: %llu, rows: %llu)\n",
+ table_name, info->_header.begin(), info->_header.end(),
+ info->_header.row_count());
char filename[FN_REFLEN], tmp_filename[FN_REFLEN];
int tmp_fd;
@@ -2008,7 +2010,9 @@ int queue_share_t::compact(info_t *info)
}
apply_cond_exprs(info, cond_expr_reset_pos_t());
- log("finished table compaction: %s\n", table_name);
+ log("finished table compaction: %s (begin: %llu, end: %llu, rows: %llu)\n",
+ table_name, info->_header.begin(), info->_header.end(),
+ info->_header.row_count());
return 0;
ERR_OPEN:

0 comments on commit 61b2830

Please sign in to comment.