mirror of
https://github.com/MariaDB/server.git
synced 2025-02-02 03:51:50 +01:00
Windows port, changed long long to int64_t in logfilemanager
git-svn-id: file:///svn/toku/tokudb@14387 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
7e81e8be66
commit
a86cbdb3d7
2 changed files with 2 additions and 2 deletions
|
@ -165,7 +165,7 @@ void toku_logfilemgr_print(TOKULOGFILEMGR lfm) {
|
||||||
int i;
|
int i;
|
||||||
struct lfm_entry *entry = lfm->first;
|
struct lfm_entry *entry = lfm->first;
|
||||||
for (i=0;i<lfm->n_entries;i++) {
|
for (i=0;i<lfm->n_entries;i++) {
|
||||||
printf(" entry %d : index = %lld, maxlsn = %lu\n", i, entry->lf_info->index, entry->lf_info->maxlsn.lsn);
|
printf(" entry %d : index = %"PRId64", maxlsn = %"PRIu64"\n", i, entry->lf_info->index, entry->lf_info->maxlsn.lsn);
|
||||||
entry = entry->next;
|
entry = entry->next;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
// this is the basic information we need to keep per logfile
|
// this is the basic information we need to keep per logfile
|
||||||
struct toku_logfile_info {
|
struct toku_logfile_info {
|
||||||
long long index;
|
int64_t index;
|
||||||
LSN maxlsn;
|
LSN maxlsn;
|
||||||
};
|
};
|
||||||
typedef struct toku_logfile_info *TOKULOGFILEINFO;
|
typedef struct toku_logfile_info *TOKULOGFILEINFO;
|
||||||
|
|
Loading…
Add table
Reference in a new issue