From e197d7dcf720ba96af6856dc82ca44879343aedf Mon Sep 17 00:00:00 2001 From: calvin <> Date: Tue, 14 Oct 2008 15:14:47 +0000 Subject: [PATCH] branches/zip: fix Mantis issue #96 Problem compiling ha_innodb.cc on 64-bit Windows Change the definition of srv_replication_delay from ulint to ulong. ulint is 64-bit on Win64. Approved by: Heikki (on IM) --- include/srv0srv.h | 2 +- srv/srv0srv.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/srv0srv.h b/include/srv0srv.h index c8fff734797..4561b6d2f17 100644 --- a/include/srv0srv.h +++ b/include/srv0srv.h @@ -145,7 +145,7 @@ extern int srv_query_thread_priority; extern ulong srv_max_buf_pool_modified_pct; extern ulong srv_max_purge_lag; -extern ulint srv_replication_delay; +extern ulong srv_replication_delay; /*-------------------------------------------*/ extern ulint srv_n_rows_inserted; diff --git a/srv/srv0srv.c b/srv/srv0srv.c index 6e1ec2d9cab..a621959d1fc 100644 --- a/srv/srv0srv.c +++ b/srv/srv0srv.c @@ -311,7 +311,7 @@ UNIV_INTERN ibool srv_use_checksums = TRUE; UNIV_INTERN ibool srv_set_thread_priorities = TRUE; UNIV_INTERN int srv_query_thread_priority = 0; -UNIV_INTERN ulint srv_replication_delay = 0; +UNIV_INTERN ulong srv_replication_delay = 0; /*-------------------------------------------*/ UNIV_INTERN ulong srv_n_spin_wait_rounds = 20;