List:Commits« Previous MessageNext Message »
From:vasil.dimov Date:May 12 2010 5:39am
Subject:bzr commit into mysql-trunk-innodb-persistent-stats branch
(vasil.dimov:3045)
View as plain text  
#At file:///usr/local/devel/bzrroot/server/mysql-trunk-innodb-persistent-stats/ based on revid:vasil.dimov@stripped

 3045 Vasil Dimov	2010-05-12
      Fix a debug assertion in the testing code
      
      It crafted a dict_index_t object manually and did not initialize the
      to_be_dropped member to 0.

    modified:
      storage/innobase/dict/dict0stats.c
=== modified file 'storage/innobase/dict/dict0stats.c'
--- a/storage/innobase/dict/dict0stats.c	2010-05-11 20:36:38 +0000
+++ b/storage/innobase/dict/dict0stats.c	2010-05-12 05:38:35 +0000
@@ -2586,6 +2586,7 @@ test_dict_stats_save()
 #ifdef UNIV_DEBUG
 	index1.magic_n = DICT_INDEX_MAGIC_N;
 #endif /* UNIV_DEBUG */
+	index1.to_be_dropped = 0;
 	index1.cached = 1;
 	index1.n_uniq = 1;
 	index1.fields = index1_fields;
@@ -2604,6 +2605,7 @@ test_dict_stats_save()
 #ifdef UNIV_DEBUG
 	index2.magic_n = DICT_INDEX_MAGIC_N;
 #endif /* UNIV_DEBUG */
+	index2.to_be_dropped = 0;
 	index2.cached = 1;
 	index2.n_uniq = 4;
 	index2.fields = index2_fields;


Attachment: [text/bzr-bundle] bzr/vasil.dimov@oracle.com-20100512053835-le2qtgtqnff5qwoj.bundle
Thread
bzr commit into mysql-trunk-innodb-persistent-stats branch(vasil.dimov:3045) vasil.dimov12 May