From 2b7aa60b7e6973e33b0990926ddfdab8c7715ff9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marko=20M=C3=A4kel=C3=A4?= Date: Wed, 13 Nov 2019 14:34:52 +0200 Subject: Use constexpr for constants on data pages --- storage/innobase/include/dict0dict.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'storage/innobase/include/dict0dict.h') diff --git a/storage/innobase/include/dict0dict.h b/storage/innobase/include/dict0dict.h index 4933ee90d6c..f024ecb9949 100644 --- a/storage/innobase/include/dict0dict.h +++ b/storage/innobase/include/dict0dict.h @@ -37,7 +37,7 @@ extern bool innodb_table_stats_not_found; extern bool innodb_index_stats_not_found; /** the first table or index ID for other than hard-coded system tables */ -#define DICT_HDR_FIRST_ID 10 +constexpr uint8_t DICT_HDR_FIRST_ID= 10; /********************************************************************//** Get the database name length in a table name. -- cgit v1.2.1