[Commits] cf4c3a4d20c: Fix type mismatch found using Windows.

jan jan.lindstrom at mariadb.com
Mon Aug 7 09:47:59 EEST 2017


revision-id: cf4c3a4d20c74f2378e94ad11e09fab5a45eb911 (mariadb-10.2.7-22-gcf4c3a4d20c)
parent(s): 18ad04523540106b9edbec7cacb07bc05c6e92e1
author: Jan Lindström
committer: Jan Lindström
timestamp: 2017-08-07 09:47:57 +0300
message:

Fix type mismatch found using Windows.

---
 extra/innochecksum.cc | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/extra/innochecksum.cc b/extra/innochecksum.cc
index 82152e727b9..2aa4d7604bb 100644
--- a/extra/innochecksum.cc
+++ b/extra/innochecksum.cc
@@ -86,9 +86,9 @@ typedef void fil_space_t;
 /* Global variables */
 static bool			verbose;
 static bool			just_count;
-static ulint			start_page;
-static ulint			end_page;
-static ulint			do_page;
+static unsigned long long	start_page;
+static unsigned long long	end_page;
+static unsigned long long	do_page;
 static bool			use_end_page;
 static bool			do_one_page;
 static my_bool do_leaf;
@@ -108,7 +108,7 @@ bool				strict_verify = 0;
 /* Enabled for rewrite checksum. */
 static bool			do_write;
 /* Mismatches count allowed (0 by default). */
-static ulint			allow_mismatches;
+static unsigned long long     	allow_mismatches=0;
 static bool			page_type_summary;
 static bool			page_type_dump;
 /* Store filename for page-type-dump option. */


More information about the commits mailing list