Skip to content

Commit 38befde

Browse files
committed
Fix settings
1 parent 1346e10 commit 38befde

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Core/Settings.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1011,7 +1011,7 @@ Allow non-const timezone arguments in certain time-related functions like toTime
10111011
When enabled, allows to use legacy toTime function, which converts a date with time to a certain fixed date, while preserving the time.
10121012
Otherwise, uses a new toTime function, that converts different type of data into the Time type.
10131013
The old legacy function is also unconditionally accessible as toTimeWithFixedDate.
1014-
)", 0) \
1014+
)", IMPORTANT) \
10151015
DECLARE(Bool, function_locate_has_mysql_compatible_argument_order, true, R"(
10161016
Controls the order of arguments in function [locate](../../sql-reference/functions/string-search-functions.md/#locate).
10171017

src/Core/SettingsChangesHistory.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ const VersionToSettingsChangesMap & getSettingsChangesHistory()
8686
{"force_exchange_kind", "", "", "New experimental setting."},
8787
{"allow_experimental_delta_kernel_rs", true, true, "New setting"},
8888
{"allow_experimental_database_hms_catalog", false, false, "Allow experimental database engine DataLakeCatalog with catalog_type = 'hive'"},
89+
{"use_legacy_to_time", false, false, "New setting. Allows for user to use the old function logic for toTime, which works as toTimeWithFixedDate."},
8990
});
9091
addSettingsChanges(settings_changes_history, "25.4",
9192
{
@@ -118,7 +119,6 @@ const VersionToSettingsChangesMap & getSettingsChangesHistory()
118119
});
119120
addSettingsChanges(settings_changes_history, "25.3",
120121
{
121-
{"use_legacy_to_time", false, false, "New setting. Allows for user to use the old function logic for toTime, which works as toTimeWithFixedDate."},
122122
/// Release closed. Please use 25.4
123123
{"enable_json_type", false, true, "JSON data type is production-ready"},
124124
{"enable_dynamic_type", false, true, "Dynamic data type is production-ready"},

0 commit comments

Comments
 (0)