Comment 4 for bug 721176

Revision history for this message
Stewart Smith (stewart) wrote :

Here's the diff of the patch.

--- /tmp/a 2011-05-19 11:20:20.367198182 +1000
+++ /tmp/b 2011-05-19 11:20:40.877376218 +1000
@@ -7,8 +7,8 @@
                      (ulong) thd->sent_row_count,
 - (ulong) thd->examined_row_count) == (uint) -1)
 + (ulong) thd->examined_row_count,
-+ ((long) thd->row_count_func > 0 ) ? (ulong) thd->row_count_func : 0,
-+ thd->row_count - thd->orig_row_count + 1,
++ ((long) thd->get_row_count_func() > 0 ) ? (ulong) thd->get_row_count_func() : 0,
++ (ulong) thd->sent_row_count,
 + (ulong) (thd->status_var.bytes_sent - thd->bytes_sent_old),
 + (ulong) thd->tmp_tables_used,
 + (ulong) thd->tmp_tables_disk_used,