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,
Here's the diff of the patch.
--- /tmp/a 2011-05-19 11:20:20.367198182 +1000
(ulong) thd->sent_ row_count, row_count) == (uint) -1) row_count, row_count_ func() > 0 ) ? (ulong) thd->get_ row_count_ func() : 0, row_count, var.bytes_ sent - thd->bytes_ sent_old) , tables_ used, tables_ disk_used,
+++ /tmp/b 2011-05-19 11:20:40.877376218 +1000
@@ -7,8 +7,8 @@
- (ulong) thd->examined_
+ (ulong) thd->examined_
-+ ((long) thd->row_count_func > 0 ) ? (ulong) thd->row_count_func : 0,
-+ thd->row_count - thd->orig_row_count + 1,
++ ((long) thd->get_
++ (ulong) thd->sent_
+ (ulong) (thd->status_
+ (ulong) thd->tmp_
+ (ulong) thd->tmp_