diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2019-11-13 14:34:52 +0200 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2019-11-13 14:34:52 +0200 |
commit | 2b7aa60b7e6973e33b0990926ddfdab8c7715ff9 (patch) | |
tree | cdedfc1f82ac6de945ca1db9069680e10330640f /storage/innobase/include/dict0dict.h | |
parent | ae72205e31e7665238c1757ede352d9ca53d5327 (diff) | |
download | mariadb-git-2b7aa60b7e6973e33b0990926ddfdab8c7715ff9.tar.gz |
Use constexpr for constants on data pages
Diffstat (limited to 'storage/innobase/include/dict0dict.h')
-rw-r--r-- | storage/innobase/include/dict0dict.h | 2 |
1 files changed, 1 insertions, 1 deletions
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. |