[Commits] Rev 3378: Fixed compiler warnings. in file:///home/igor/maria/maria-5.3-mwl247/

Igor Babaev igor at askmonty.org
Mon Jan 2 07:41:58 EET 2012


At file:///home/igor/maria/maria-5.3-mwl247/

------------------------------------------------------------
revno: 3378
revision-id: igor at askmonty.org-20120102054157-mfzzspzh3ta92ei6
parent: igor at askmonty.org-20120102044736-upxylo1nru6h8f8f
committer: Igor Babaev <igor at askmonty.org>
branch nick: maria-5.3-mwl247
timestamp: Sun 2012-01-01 21:41:57 -0800
message:
  Fixed compiler warnings.
-------------- next part --------------
=== modified file 'storage/xtradb/handler/ha_innodb.cc'
--- a/storage/xtradb/handler/ha_innodb.cc	2012-01-02 04:47:36 +0000
+++ b/storage/xtradb/handler/ha_innodb.cc	2012-01-02 05:41:57 +0000
@@ -8619,6 +8619,7 @@
 
 		for (i = 0; i < table->s->keys; i++) {
 			ulong	j;
+                        rec_per_key = 1;
 			/* We could get index quickly through internal
 			index mapping with the index translation table.
 			The identity of index (match up index name with
@@ -8687,7 +8688,9 @@
                           
 		                index= innobase_get_index(
                                         table->s->primary_key);
-                                    
+                                
+                                n_rows= ib_table->stat_n_rows;
+    
                                 for (j = 0; j < pk_parts; j++) {
  
 				         if (ext_key_part_map & 1<<j) {



More information about the commits mailing list