Commit 229dd711 authored by Marko Mäkelä's avatar Marko Mäkelä

MDEV-11585 Hard-code the shared InnoDB temporary tablespace ID

Try hard-coding the ID as -2 instead of -1, so that they will not
be confused with ULINT_UNDEFINED on 32-bit platforms.
parent 9b27d3e8
...@@ -33,7 +33,7 @@ Created May 26, 2009 Vasil Dimov ...@@ -33,7 +33,7 @@ Created May 26, 2009 Vasil Dimov
have a smaller fil_space_t::id. */ have a smaller fil_space_t::id. */
#define SRV_LOG_SPACE_FIRST_ID 0xFFFFFFF0U #define SRV_LOG_SPACE_FIRST_ID 0xFFFFFFF0U
/** The fil_space_t::id of the innodb_temporary tablespace. */ /** The fil_space_t::id of the innodb_temporary tablespace. */
#define SRV_TMP_SPACE_ID 0xFFFFFFFFU #define SRV_TMP_SPACE_ID 0xFFFFFFFEU
#include "univ.i" #include "univ.i"
#include "ut0byte.h" #include "ut0byte.h"
......
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