Commit c03deada authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

fix 64 bit Windows build

parent 61e0b38f
...@@ -20,6 +20,7 @@ ...@@ -20,6 +20,7 @@
# different results. # different results.
IF(MSVC) IF(MSVC)
SET(BFD_H_EXISTS 0 CACHE INTERNAL "")
SET(HAVE_ACCESS 1 CACHE INTERNAL "") SET(HAVE_ACCESS 1 CACHE INTERNAL "")
SET(HAVE_AIO_H CACHE INTERNAL "") SET(HAVE_AIO_H CACHE INTERNAL "")
SET(HAVE_AIO_READ CACHE INTERNAL "") SET(HAVE_AIO_READ CACHE INTERNAL "")
......
...@@ -12374,7 +12374,7 @@ static MYSQL_SYSVAR_ULONG(concurrency_tickets, srv_n_free_tickets_to_enter, ...@@ -12374,7 +12374,7 @@ static MYSQL_SYSVAR_ULONG(concurrency_tickets, srv_n_free_tickets_to_enter,
#else #else
#define TMP_STR "No effect for this build." #define TMP_STR "No effect for this build."
#endif #endif
static MYSQL_SYSVAR_LONG(kill_idle_transaction, srv_kill_idle_transaction, static MYSQL_SYSVAR_ULONG(kill_idle_transaction, srv_kill_idle_transaction,
PLUGIN_VAR_RQCMDARG, PLUGIN_VAR_RQCMDARG,
TMP_STR, TMP_STR,
NULL, NULL, 0, 0, LONG_MAX, 0); NULL, NULL, 0, 0, LONG_MAX, 0);
......
...@@ -299,7 +299,7 @@ extern ibool srv_print_latch_waits; ...@@ -299,7 +299,7 @@ extern ibool srv_print_latch_waits;
extern ulint srv_activity_count; extern ulint srv_activity_count;
extern ulint srv_fatal_semaphore_wait_threshold; extern ulint srv_fatal_semaphore_wait_threshold;
extern ulint srv_dml_needed_delay; extern ulint srv_dml_needed_delay;
extern lint srv_kill_idle_transaction; extern ulong srv_kill_idle_transaction;
extern mutex_t* kernel_mutex_temp;/* mutex protecting the server, trx structs, extern mutex_t* kernel_mutex_temp;/* mutex protecting the server, trx structs,
query threads, and lock table: we allocate query threads, and lock table: we allocate
......
...@@ -104,7 +104,7 @@ UNIV_INTERN ulint srv_activity_count = 0; ...@@ -104,7 +104,7 @@ UNIV_INTERN ulint srv_activity_count = 0;
UNIV_INTERN ulint srv_fatal_semaphore_wait_threshold = 600; UNIV_INTERN ulint srv_fatal_semaphore_wait_threshold = 600;
/**/ /**/
UNIV_INTERN lint srv_kill_idle_transaction = 0; UNIV_INTERN ulong srv_kill_idle_transaction = 0;
/* How much data manipulation language (DML) statements need to be delayed, /* How much data manipulation language (DML) statements need to be delayed,
in microseconds, in order to reduce the lagging of the purge thread. */ in microseconds, in order to reduce the lagging of the purge thread. */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment