diff options
author | Sergei Golubchik <serg@mariadb.org> | 2015-12-09 17:11:55 +0100 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2015-12-09 17:11:55 +0100 |
commit | d67aacb4fbb449ffa8db4e3d70fe8756d62b5222 (patch) | |
tree | 52e4de0f2e73bb1d85007758b1943e46de02bc87 /storage | |
parent | fa4d4fc76eb2cc74dbccf8890aad7b5e0cac59d1 (diff) | |
download | mariadb-git-d67aacb4fbb449ffa8db4e3d70fe8756d62b5222.tar.gz |
fix xtradb compilation on windowsmariadb-5.5.47
Diffstat (limited to 'storage')
-rw-r--r-- | storage/xtradb/handler/ha_innodb.cc | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/storage/xtradb/handler/ha_innodb.cc b/storage/xtradb/handler/ha_innodb.cc index c04a502902d..f3b9167835e 100644 --- a/storage/xtradb/handler/ha_innodb.cc +++ b/storage/xtradb/handler/ha_innodb.cc @@ -13493,17 +13493,15 @@ static MYSQL_SYSVAR_ENUM(stats_method, srv_innodb_stats_method, /* Make this variable dynamic for debug builds to provide a testcase sync facility */ #define track_changed_pages_flags PLUGIN_VAR_NOCMDARG +#define track_changed_pages_check innodb_track_changed_pages_validate #else #define track_changed_pages_flags PLUGIN_VAR_NOCMDARG | PLUGIN_VAR_READONLY +#define track_changed_pages_check NULL #endif static MYSQL_SYSVAR_BOOL(track_changed_pages, srv_track_changed_pages, track_changed_pages_flags, "Track the redo log for changed pages and output a changed page bitmap", -#ifdef UNIV_DEBUG - innodb_track_changed_pages_validate, -#else - NULL, -#endif + track_changed_pages_check, NULL, FALSE); static MYSQL_SYSVAR_ULONGLONG(max_bitmap_file_size, srv_max_bitmap_file_size, |