summaryrefslogtreecommitdiff
path: root/storage/xtradb/include/trx0sys.ic
diff options
context:
space:
mode:
Diffstat (limited to 'storage/xtradb/include/trx0sys.ic')
-rw-r--r--storage/xtradb/include/trx0sys.ic2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/xtradb/include/trx0sys.ic b/storage/xtradb/include/trx0sys.ic
index c7b09d4aec2..5e0f07c8b9d 100644
--- a/storage/xtradb/include/trx0sys.ic
+++ b/storage/xtradb/include/trx0sys.ic
@@ -81,7 +81,7 @@ trx_sys_sys_space(
{
if (srv_doublewrite_file) {
/* several spaces are reserved */
- return((ibool)(space <= TRX_SYS_SPACE_MAX));
+ return((ibool)(space == TRX_SYS_SPACE || space == TRX_DOUBLEWRITE_SPACE));
} else {
return((ibool)(space == TRX_SYS_SPACE));
}