diff options
Diffstat (limited to 'storage/innobase/include/fsp0space.h')
-rw-r--r-- | storage/innobase/include/fsp0space.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/storage/innobase/include/fsp0space.h b/storage/innobase/include/fsp0space.h index 603c71b4aa6..31a1a4abc75 100644 --- a/storage/innobase/include/fsp0space.h +++ b/storage/innobase/include/fsp0space.h @@ -219,7 +219,10 @@ public: /** Check if undo tablespace. @return true if undo tablespace */ - static bool is_undo_tablespace(ulint id); + static bool is_undo_tablespace(ulint id) + { + return(id <= srv_undo_tablespaces_open); + } private: /** @param[in] filename Name to lookup in the data files. |