[Commits] Rev 2811: Let xtradb set mrr_length_per_rec stats. in file:///home/psergey/dev2/5.3/

Sergey Petrunya psergey at askmonty.org
Mon Aug 9 20:03:49 EEST 2010


At file:///home/psergey/dev2/5.3/

------------------------------------------------------------
revno: 2811
revision-id: psergey at askmonty.org-20100809170348-7ovv00q7ug5rjq1v
parent: sanja at askmonty.org-20100809100058-qqmlj17yajig4gwj
committer: Sergey Petrunya <psergey at askmonty.org>
branch nick: 5.3
timestamp: Mon 2010-08-09 21:03:48 +0400
message:
  Let xtradb set mrr_length_per_rec stats.
=== modified file 'storage/xtradb/handler/ha_innodb.cc'
--- a/storage/xtradb/handler/ha_innodb.cc	2010-06-26 10:05:41 +0000
+++ b/storage/xtradb/handler/ha_innodb.cc	2010-08-09 17:03:48 +0000
@@ -7639,6 +7639,7 @@
 		}
 
 		stats.check_time = 0;
+		stats.mrr_length_per_rec= ref_length +  8; // 8 = max(sizeof(void *));
 
 		if (stats.records == 0) {
 			stats.mean_rec_length = 0;



More information about the commits mailing list