Merge lp:~gaul/percona-data-recovery-tool-for-innodb/fixed-width-checksum into lp:percona-data-recovery-tool-for-innodb

Proposed by Andrew Gaul
Status: Merged
Merged at revision: 59
Proposed branch: lp:~gaul/percona-data-recovery-tool-for-innodb/fixed-width-checksum
Merge into: lp:percona-data-recovery-tool-for-innodb
Diff against target: 20 lines (+2/-1)
1 file modified
innochecksum.c (+2/-1)
To merge this branch: bzr merge lp:~gaul/percona-data-recovery-tool-for-innodb/fixed-width-checksum
Reviewer Review Type Date Requested Status
Aleksandr Kuzminsky (community) Approve
Review via email: mp+116790@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Aleksandr Kuzminsky (akuzminsky) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'innochecksum.c'
2--- innochecksum.c 2010-09-21 07:54:13 +0000
3+++ innochecksum.c 2012-07-26 00:56:17 +0000
4@@ -23,6 +23,7 @@
5 Published with a permission.
6 */
7
8+#include <stdint.h>
9 #include "innochecksum.h"
10
11 int main(int argc, char **argv)
12@@ -33,7 +34,7 @@
13 ulint ct; /* current page number (0 based) */
14 int now; /* current time */
15 int lastt; /* last time */
16- ulint oldcsum, oldcsumfield, csum, csumfield, logseq, logseqfield, fixed_chksum, fixed_lsn, buf_lsn; /* ulints for checksum storage */
17+ uint32_t oldcsum, oldcsumfield, csum, csumfield, logseq, logseqfield, fixed_chksum, fixed_lsn, buf_lsn; /* checksum storage */
18 struct stat st; /* for stat, if you couldn't guess */
19 unsigned long long int size; /* size of file (has to be 64 bits) */
20 ulint pages; /* number of pages in file */

Subscribers

People subscribed via source and target branches