diff options
| author | Rucha Deodhar <rucha.deodhar@mariadb.com> | 2021-08-13 15:49:16 +0530 |
|---|---|---|
| committer | Rucha Deodhar <rucha.deodhar@mariadb.com> | 2022-01-11 15:05:40 +0530 |
| commit | cea4f7439532e1892561a07f7f4e6228eebc0672 (patch) | |
| tree | 0591442cdd1d76cf8e4a568ea253c90834af8dbb /sql/sql_class.h | |
| parent | a81c75f5a96697de560325c440e15b909cac113c (diff) | |
| download | mariadb-git-bb-10.8-MDEV-24920.tar.gz | |
MDEV-24920: Merge "old" SQL variable to "old_mode" sql variablebb-10.8-MDEV-24920
Analysis: There are 2 server variables- "old_mode" and "old". "old" is no
longer needed as "old_mode" has replaced it (however still used in some places
in the code). "old_mode" and "old" has same purpose- emulate behavior from
previous MariaDB versions. So they can be merged to avoid confusion.
Fix: Deprecate "old" variable and create another mode for @@old_mode to mimic
behavior of previous "old" variable. Create specific modes for specifix task
that --old sql variable was doing earlier and use the new modes instead.
Diffstat (limited to 'sql/sql_class.h')
| -rw-r--r-- | sql/sql_class.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/sql_class.h b/sql/sql_class.h index df9d89b5aff..ab3f3b3af4b 100644 --- a/sql/sql_class.h +++ b/sql/sql_class.h @@ -191,6 +191,8 @@ enum enum_binlog_row_image { #define OLD_MODE_NO_PROGRESS_INFO (1 << 1) #define OLD_MODE_ZERO_DATE_TIME_CAST (1 << 2) #define OLD_MODE_UTF8_IS_UTF8MB3 (1 << 3) +#define OLD_MODE_INDEX_HINT_MASK_JOIN (1 << 4) +#define OLD_MODE_CHECKSUM_SLOW_NULLS (1 << 5) extern char internal_table_name[2]; extern char empty_c_string[1]; |
