[Commits] 104078a: Fix compiler error on windows.

Jan Lindström jan.lindstrom at mariadb.com
Wed Mar 4 14:18:43 EET 2015


revision-id: 104078a54fd623051ac1ed206fbbdb5ca7c84f6a
parent(s): bf20fca620ca389e7017e9a289ae61c72a943c6a
committer: Jan Lindström
branch nick: 10.1-innodb
timestamp: 2015-03-04 14:18:33 +0200
message:

Fix compiler error on windows.

---
 extra/innochecksum.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/extra/innochecksum.cc b/extra/innochecksum.cc
index b12eccc..1f323b9 100644
--- a/extra/innochecksum.cc
+++ b/extra/innochecksum.cc
@@ -541,7 +541,7 @@ void print_index_leaf_stats(unsigned long long id, const per_index_stats& index)
 void defrag_analysis(unsigned long long id, const per_index_stats& index)
 {
   // TODO: make it work for compressed pages too
-  std::map<const long unsigned int, per_page_stats>::const_iterator it = index.leaves.find(index.first_leaf_page);
+  std::map<ulint, per_page_stats>::const_iterator it = index.leaves.find(index.first_leaf_page);
   ulint n_pages = 0;
   ulint n_leaf_pages = 0;
   while (it != index.leaves.end()) {


More information about the commits mailing list