diff options
Diffstat (limited to 'include/my_alloc.h')
-rw-r--r-- | include/my_alloc.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/include/my_alloc.h b/include/my_alloc.h index caa4be8f..0b777437 100644 --- a/include/my_alloc.h +++ b/include/my_alloc.h @@ -25,6 +25,8 @@ #define ALLOC_MAX_BLOCK_TO_DROP 4096 #define ALLOC_MAX_BLOCK_USAGE_BEFORE_DROP 10 +#define ROOT_FLAG_READ_ONLY 4 + #ifdef __cplusplus extern "C" { #endif @@ -53,10 +55,6 @@ typedef struct st_mem_root unsigned short first_block_usage; unsigned short flags; -#ifdef PROTECT_STATEMENT_MEMROOT - int read_only; -#endif - void (*error_handler)(void); PSI_memory_key psi_key; |