Skip to content

Commit 773681c

Browse files
committed
Merge master into branch
2 parents 92bd95e + f130717 commit 773681c

39 files changed

+434
-356
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ curl https://clickhouse.com/ | sh
3737
Every month we get together with the community (users, contributors, customers, those interested in learning more about ClickHouse) to discuss what is coming in the latest release.
3838
If you are interested in sharing what you've built on ClickHouse, let us know.
3939

40-
* [v25.4 Community & Release Call](https://clickhouse.com/company/events/v25-4-community-release-call) - April 22
40+
* [v25.5 Community & Release Call](https://clickhouse.com/company/events/v25-5-community-release-call) - May 22
4141

4242
## Upcoming Events
4343

cmake/autogenerated_versions.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
# NOTE: VERSION_REVISION has nothing common with DBMS_TCP_PROTOCOL_VERSION,
44
# only DBMS_TCP_PROTOCOL_VERSION should be incremented on protocol changes.
5-
SET(VERSION_REVISION 54498)
5+
SET(VERSION_REVISION 54499)
66
SET(VERSION_MAJOR 25)
7-
SET(VERSION_MINOR 5)
7+
SET(VERSION_MINOR 6)
88
SET(VERSION_PATCH 1)
9-
SET(VERSION_GITHASH 90b13185583c7d97f4a33af179684153167c4921)
10-
SET(VERSION_DESCRIBE v25.5.1.1-testing)
11-
SET(VERSION_STRING 25.5.1.1)
9+
SET(VERSION_GITHASH 063c439f4337aca894c2478a7cdbc1dd20cf30dd)
10+
SET(VERSION_DESCRIBE v25.6.1.1-testing)
11+
SET(VERSION_STRING 25.6.1.1)
1212
# end of autochange

docs/en/operations/server-configuration-parameters/_server_settings_outside_source.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,6 @@ To manually turn on error history collection [`system.error_log`](../../operatio
244244
<reserved_size_rows>8192</reserved_size_rows>
245245
<buffer_size_rows_flush_threshold>524288</buffer_size_rows_flush_threshold>
246246
<flush_on_crash>false</flush_on_crash>
247-
<symbolize>true</symbolize>
248247
</error_log>
249248
</clickhouse>
250249
```

docs/en/operations/system-tables/error_log.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,8 @@ Columns:
1818
- `event_time` ([DateTime](../../sql-reference/data-types/datetime.md)) — Event time.
1919
- `code` ([Int32](../../sql-reference/data-types/int-uint.md)) — Code number of the error.
2020
- `error` ([LowCardinality(String)](../../sql-reference/data-types/string.md)) - Name of the error.
21-
- `last_error_time` ([DateTime](../../sql-reference/data-types/datetime.md)) — The time when the last error happened.
22-
- `last_error_message` ([String](../../sql-reference/data-types/string.md)) — Message for the last error.
2321
- `value` ([UInt64](../../sql-reference/data-types/int-uint.md)) — The number of times this error happened.
2422
- `remote` ([UInt8](../../sql-reference/data-types/int-uint.md)) — Remote exception (i.e. received during one of the distributed queries).
25-
- `last_error_query_id` ([String](../../sql-reference/data-types/string.md)) — Id of a query that caused the last error (if available).
26-
- `last_error_trace` ([Array(UInt64)](../../sql-reference/data-types/array.md)) — A stack trace that represents a list of physical addresses where the called methods are stored.
27-
- `last_error_symbols` ([Array(LowCardinality(String))](../../sql-reference/data-types/array.md)), If the symbolization is enabled, contains demangled symbol names, corresponding to the `last_error_trace`.
28-
- `last_error_lines` ([Array(LowCardinality(String))](../../sql-reference/data-types/array.md)), If the symbolization is enabled, contains strings with file names with line numbers, corresponding to the `last_error_trace`.
29-
30-
The symbolization can be enabled or disabled in the `symbolize` under `error_log` in the server's configuration file.
3123

3224
**Example**
3325

docs/en/operations/system-tables/errors.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@ Columns:
2121
- `last_error_message` ([String](../../sql-reference/data-types/string.md)) — message for the last error.
2222
- `last_error_trace` ([Array(UInt64)](../../sql-reference/data-types/array.md)) — A [stack trace](https://en.wikipedia.org/wiki/Stack_trace) that represents a list of physical addresses where the called methods are stored.
2323
- `remote` ([UInt8](../../sql-reference/data-types/int-uint.md)) — remote exception (i.e. received during one of the distributed queries).
24-
- `last_error_query_id` ([String](../../sql-reference/data-types/string.md)) — Id of a query that caused the last error (if available).
25-
- `last_error_symbols` ([Array(LowCardinality(String))](../../sql-reference/data-types/array.md)) — Contains demangled symbol names, corresponding to the `last_error_trace`.
26-
- `last_error_lines` ([Array(LowCardinality(String))](../../sql-reference/data-types/array.md)) — Contains strings with file names with line numbers, corresponding to the `last_error_trace`.
2724

2825
:::note
2926
Counters for some errors may increase during successful query execution. It's not recommended to use this table for server monitoring purposes unless you are sure that corresponding error can not be a false positive.

programs/local/LocalServer.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -948,14 +948,14 @@ void LocalServer::processConfig()
948948
DatabaseCatalog::instance().startupBackgroundTasks();
949949
}
950950

951-
/// For ClickHouse local if path is not set the loader will be disabled.
952-
global_context->getUserDefinedSQLObjectsStorage().loadObjects();
953-
954951
LOG_DEBUG(log, "Loaded metadata.");
955952
}
956953

957954
if (!attached_system_database)
958955
attachSystemTablesServer(global_context, *createMemoryDatabaseIfNotExists(global_context, DatabaseCatalog::SYSTEM_DATABASE), false);
956+
957+
if (fs::exists(fs::path(path) / "user_defined"))
958+
global_context->getUserDefinedSQLObjectsStorage().loadObjects();
959959
}
960960
else if (!getClientConfiguration().has("no-system-tables"))
961961
{

src/Client/ClientBaseOptimizedParts.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,10 @@ void ClientApplicationBase::parseAndCheckOptions(OptionsDescription & options_de
102102
/// Check positional options.
103103
for (const auto & op : parsed.options)
104104
{
105+
/// Skip all options after empty `--`. These are processed separately into the Application configuration.
106+
if (op.string_key.empty() && op.original_tokens[0].starts_with("--"))
107+
break;
108+
105109
if (!op.unregistered && op.string_key.empty() && !op.original_tokens[0].starts_with("--")
106110
&& !op.original_tokens[0].empty() && !op.value.empty())
107111
{

src/Common/AddressToLineCache.cpp

Lines changed: 0 additions & 65 deletions
This file was deleted.

src/Common/AddressToLineCache.h

Lines changed: 0 additions & 30 deletions
This file was deleted.

src/Common/SymbolsHelper.cpp

Lines changed: 0 additions & 46 deletions
This file was deleted.

0 commit comments

Comments
 (0)