From cd3df7142db7e66184cd59bc67bc7f33e66beda4 Mon Sep 17 00:00:00 2001 From: Sergei Golubchik Date: Thu, 13 Nov 2025 16:38:56 +0100 Subject: [PATCH] remove unused new modes constants --- sql/sql_class.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/sql/sql_class.h b/sql/sql_class.h index 428e5e71314..cc56151cde3 100644 --- a/sql/sql_class.h +++ b/sql/sql_class.h @@ -232,10 +232,6 @@ void old_mode_deprecated_warnings(ulonglong v); /* Definitions above that have transitioned from new behaviour to default */ #define NOW_DEFAULT -1 -#define NEW_MODE_TEST_WARNING1 NOW_DEFAULT -#define NEW_MODE_TEST_WARNING2 NOW_DEFAULT -#define NEW_MODE_FIX_DISK_TMPTABLE_COSTS NOW_DEFAULT -#define NEW_MODE_FIX_INDEX_STATS_FOR_ALL_NULLS NOW_DEFAULT #define TEST_NEW_MODE_FLAG(thd, flag) \ (flag == NOW_DEFAULT ? TRUE : thd->variables.new_behavior & flag)