summaryrefslogtreecommitdiff
path: root/storage
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@mariadb.com>2017-04-01 10:37:36 +0000
committerVladislav Vaintroub <wlad@mariadb.com>2017-04-02 17:29:04 +0000
commit2be18d9b7f12f6eed577b5a4a29e0c7162dfa76e (patch)
tree88ae26f12fd02e02a92e2538d6ec9934b1622662 /storage
parentc35a5884b05c380839031b16aad47cc6dc023847 (diff)
downloadmariadb-git-2be18d9b7f12f6eed577b5a4a29e0c7162dfa76e.tar.gz
Fix the build on Windows.
Restore MYSQL_SYSVAR_UINT64_T and MYSQL_SYSVAR_SIZE_T in plugin.h
Diffstat (limited to 'storage')
-rw-r--r--storage/rocksdb/ha_rocksdb.cc12
1 files changed, 0 insertions, 12 deletions
diff --git a/storage/rocksdb/ha_rocksdb.cc b/storage/rocksdb/ha_rocksdb.cc
index 72b23f2655c..981acdf22b0 100644
--- a/storage/rocksdb/ha_rocksdb.cc
+++ b/storage/rocksdb/ha_rocksdb.cc
@@ -454,18 +454,6 @@ const int64 RDB_DEFAULT_BLOCK_CACHE_SIZE = 512 * 1024 * 1024;
const int64 RDB_MIN_BLOCK_CACHE_SIZE = 1024;
const int RDB_MAX_CHECKSUMS_PCT = 100;
-#if SIZEOF_ULONG == SIZEOF_SIZE_T
-#define MYSQL_SYSVAR_SIZE_T MYSQL_SYSVAR_ULONG
-#else
-#define MYSQL_SYSVAR_SIZE_T MYSQL_SYSVAR_ULONGLONG
-#endif
-
-#if SIZEOF_ULONG == SIZEOF_UINT64_T
-#define MYSQL_SYSVAR_UINT64_T MYSQL_SYSVAR_ULONG
-#else
-#define MYSQL_SYSVAR_UINT64_T MYSQL_SYSVAR_ULONGLONG
-#endif
-
// TODO: 0 means don't wait at all, and we don't support it yet?
static MYSQL_THDVAR_ULONG(lock_wait_timeout, PLUGIN_VAR_RQCMDARG,
"Number of seconds to wait for lock", nullptr,