Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
162 commits
Select commit Hold shift + click to select a range
db372c1
Backport #101798 to 25.8: Prevent server termination when unregisteri…
robot-clickhouse Apr 10, 2026
0e25e81
Backport #102384 to 25.8: Coalescing merge tree fix array
robot-clickhouse Apr 11, 2026
c14a192
Fix very weird issue
alesapin Sep 24, 2025
8cc0fb1
Backport #103552 to 25.8: Fix masking nested credentials in logs
robot-clickhouse Apr 30, 2026
aedd933
Backport #103773 to 25.8: Fix UB while parsing dateTime
robot-clickhouse Apr 30, 2026
ac95f6f
Backport #100758 to 25.8: Erase sorted_dynamic_paths entries before d…
robot-clickhouse May 4, 2026
e72c1c3
Update autogenerated version to 25.8.23.13 and contributors
robot-clickhouse May 4, 2026
4cea897
Backport #104047 to 25.8: Bump libarchive form 3.8.6 to 3.8.7
robot-clickhouse May 5, 2026
12622ab
Merge pull request #104104 from ClickHouse/backport/25.8/104047
rschu1ze May 5, 2026
e27c3d4
Backport #102921 to 25.8: Disable trivial LIMIT optimization with row…
robot-clickhouse May 5, 2026
64d8b8e
Backport #104141 to 25.8: Fix write out of bounds in quantileTiming d…
robot-clickhouse May 6, 2026
1432515
Fix reference
azat May 6, 2026
a438525
Backport #102961 to 25.8: Use max_insert_threads for plain INSERTs wi…
robot-clickhouse May 6, 2026
37e92a0
Update tests/queries/0_stateless/04201_trivial_count_with_additional_…
azat May 6, 2026
1c59144
Merge pull request #104148 from ClickHouse/backport/25.8/102921
azat May 6, 2026
7af0faf
Backport #104063 to 25.8: Bypass index uncompressed cache when its si…
robot-ch-test-poll3 May 7, 2026
c059e14
Merge pull request #104210 from ClickHouse/backport/25.8/102961
antonio2368 May 7, 2026
942ead5
Merge branch '25.8' of github.com:ClickHouse/ClickHouse into backport…
Slach May 7, 2026
393f47f
Merge pull request #103542 from Slach/backport-checksum-fix-to-25.8
alexey-milovidov May 7, 2026
677f8d8
Merge pull request #104189 from ClickHouse/backport/25.8/104141
alexey-milovidov May 7, 2026
f05c134
Backport fix for IPv6StringToNumOrDefault to 25.8
Avogar May 11, 2026
1896d6b
Backport #103277 to 25.8: Fix data race in dictionaries
robot-clickhouse May 11, 2026
eb558ec
Merge pull request #103793 from ClickHouse/backport/25.8/103773
fm4v May 12, 2026
7f5666c
Update gtest_column_object.cpp
Avogar May 12, 2026
3991b41
Merge pull request #104577 from Avogar/backport/25.8/93543
Avogar May 12, 2026
1acc89f
Backport #104322 to 25.8: fixing a possible underflow while parsing p…
robot-clickhouse May 13, 2026
4cea51f
Backport #98460 to 25.8: Fix null pointer dereference in dictGetOrDef…
robot-clickhouse May 13, 2026
565a588
Backport #104751 to 25.8: Fix use-after-free in `AvroConfluentRowInpu…
robot-clickhouse May 13, 2026
372f102
Merge pull request #102430 from ClickHouse/backport/25.8/101798
fm4v May 13, 2026
d7d4adc
Merge pull request #102447 from ClickHouse/backport/25.8/102384
fm4v May 13, 2026
feccefc
Merge pull request #103752 from ClickHouse/backport/25.8/103552
fm4v May 13, 2026
e15bfd7
removing unrelated tests that got accidentally dragged in during merge
grantholly-clickhouse May 13, 2026
cd7a0a5
Merge pull request #104613 from ClickHouse/backport/25.8/103277
fm4v May 14, 2026
768e0ac
Merge pull request #104842 from ClickHouse/backport/25.8/104751
mstetsyuk May 14, 2026
f73bb43
Backport #104673 to 25.8: Fix data race in FutureSetFromTuple
robot-clickhouse May 14, 2026
e4089b9
updating reference files
grantholly-clickhouse May 14, 2026
a6fcfe0
Merge pull request #104775 from ClickHouse/backport/25.8/104322
grantholly-clickhouse May 15, 2026
c4a3d15
Merge pull request #104953 from ClickHouse/backport/25.8/104673
mstetsyuk May 15, 2026
1a9cf6a
Backport #103890 to 25.8: Fix use-after-free in KeeperHandlingConsume…
robot-clickhouse May 15, 2026
7f17941
Merge pull request #105077 from ClickHouse/backport/25.8/103890
antaljanosbenjamin May 15, 2026
5bb75ee
Merge pull request #104797 from ClickHouse/backport/25.8/98460
mstetsyuk May 18, 2026
221d172
Backport #104663 to 25.8: Fix Keeper termination on get `/keeper/avai…
robot-clickhouse May 18, 2026
be0cc8f
Backport #103536 to 25.8: Fix heap-use-after-free in `executeAggregat…
robot-ch-test-poll4 May 19, 2026
33dcce4
Merge pull request #105234 from ClickHouse/backport/25.8/104663
antonio2368 May 19, 2026
497e61c
Merge pull request #104022 from ClickHouse/backport/25.8/100758
Avogar May 19, 2026
96aec58
Backport #102417 to 25.8: Check for stack overflow in Avro reader
robot-clickhouse May 19, 2026
dc55124
Backport #104610 to 25.8: Use restore Keeper retries for restored parts
robot-clickhouse May 20, 2026
151774e
Merge pull request #105400 from ClickHouse/backport/25.8/104610
pamarcos May 20, 2026
bf990cb
Update autogenerated version to 25.8.24.21 and contributors
robot-clickhouse May 20, 2026
eb1c44f
Fix `contrib/avro` submodule pointer for stack overflow protection
Avogar May 20, 2026
65a8ef1
Backport #92717 to 25.8: Fix flaky test_named_collections
robot-clickhouse May 20, 2026
0295321
Merge pull request #105377 from ClickHouse/backport/25.8/102417
Avogar May 21, 2026
07945bc
Merge pull request #105448 from ClickHouse/backport/25.8/92717
kssenii May 21, 2026
e33115c
Backport #105492 to 25.8: Skip test_numbers_check on release branches
robot-clickhouse May 21, 2026
edde76f
Merge pull request #105595 from ClickHouse/backport/25.8/105492
Algunenano May 22, 2026
e91f922
Backport #105449 to 25.8: Fix heap-buffer-overflow and null-pointer d…
robot-clickhouse May 22, 2026
4f2cb4f
Fix geoparquet metadata handling in Arrow IPC format
Algunenano May 22, 2026
ae816cf
Backport #105636 to 25.8: Fix test_mysql_dotnet_client by anchoring t…
robot-clickhouse May 22, 2026
d2376bc
Merge pull request #105619 from ClickHouse/backport/25.8/105449
Algunenano May 26, 2026
4ff5013
Merge pull request #105654 from ClickHouse/backport/25.8/105636
Algunenano May 26, 2026
f997543
Backport #105776 to 25.8: Reject empty or NUL-containing MongoDB coll…
robot-clickhouse May 26, 2026
dae9ac3
Backport #104300 to 25.8: Update mongo-c-driver to 2.3.0
robot-clickhouse May 27, 2026
139fc04
Backport #105535 to 25.8: Fix SEGFAULT in `singleValueOrNull` deseria…
robot-clickhouse May 27, 2026
4b1cb41
Merge pull request #105930 from ClickHouse/backport/25.8/104300
Algunenano May 28, 2026
f4e9be8
Merge pull request #105854 from ClickHouse/backport/25.8/105776
Algunenano May 28, 2026
bc239de
Backport #106077 to 25.8: Bump `curl` from 8.19 to 8.20
robot-clickhouse Jun 2, 2026
44575b3
Backport #105994 to 25.8: Use `postgres` REL_18_4
robot-clickhouse Jun 2, 2026
54e3840
Backport #105985 to 25.8: Bump libxml2 from 2.15.1 to 2.15.3
robot-clickhouse Jun 2, 2026
301e412
Merge pull request #106320 from ClickHouse/backport/25.8/105994
alexey-milovidov Jun 3, 2026
14a3a99
Merge pull request #106305 from ClickHouse/backport/25.8/106077
alexey-milovidov Jun 3, 2026
1d7a488
Backport #106287 to 25.8: Bump mariadb-connector-c to 3.1.29
robot-clickhouse Jun 4, 2026
68dd82e
Merge pull request #105967 from ClickHouse/backport/25.8/105535
Avogar Jun 4, 2026
5cb401e
Backport #106105 to 25.8: Fix `system.dictionaries` returning 0 rows …
robot-clickhouse Jun 4, 2026
55a561c
Backport #105464 to 25.8: Fix SIGSEGV when reading Dynamic subcolumns…
robot-clickhouse Jun 4, 2026
d1fd28d
Merge pull request #106483 from ClickHouse/backport/25.8/105464
alexey-milovidov Jun 5, 2026
d7b117b
Backport #105579 to 25.8: Fix nullptr deref in CREATE TABLE TO INNER …
robot-clickhouse Jun 5, 2026
30f54b4
Merge pull request #106553 from ClickHouse/backport/25.8/105579
evillique Jun 5, 2026
ebaf79c
Backport #105666 to 25.8: Fix OOB read in flattened Dynamic column Na…
robot-clickhouse Jun 8, 2026
d27c080
Backport #105582 to 25.8: Fix crash in Values format when tuples have…
robot-clickhouse Jun 8, 2026
989dbdf
Backport #106741 to 25.8: Fix heap buffer overflow in decodeHTMLCompo…
robot-clickhouse Jun 8, 2026
4b52b64
Merge pull request #106445 from ClickHouse/backport/25.8/106287
nikitamikhaylov Jun 9, 2026
7998488
Merge pull request #106762 from ClickHouse/backport/25.8/105582
Avogar Jun 9, 2026
03d1255
Merge pull request #106754 from ClickHouse/backport/25.8/105666
Avogar Jun 9, 2026
d79fa80
Merge pull request #106467 from ClickHouse/backport/25.8/106105
Avogar Jun 9, 2026
8d6f8fb
Merge pull request #106786 from ClickHouse/backport/25.8/106741
nikitamikhaylov Jun 9, 2026
b2e0756
Merge branch '25.8' into backport/25.8/105985
thevar1able Jun 10, 2026
5505459
Backport #106076 to 25.8: Bump `krb5` to 1.22.2
robot-clickhouse Jun 10, 2026
1b56bad
Update CMakeLists.txt
thevar1able Jun 10, 2026
70b0d3b
Merge pull request #106989 from ClickHouse/backport/25.8/106076
alexey-milovidov Jun 11, 2026
5824bc6
Merge pull request #106328 from ClickHouse/backport/25.8/105985
thevar1able Jun 11, 2026
9299122
Backport #107097 to 25.8: Do not hold mutex across ZooKeeper reads in…
robot-clickhouse Jun 11, 2026
ab33213
Merge pull request #107275 from ClickHouse/backport/25.8/107097
azat Jun 12, 2026
dabdd1e
Backport #106395 to 25.8: Arrow IPC: fix heap out-of-bounds reads and…
robot-clickhouse Jun 12, 2026
1e3dff0
Adapt Arrow OOB regression tests to 25.8
Algunenano Jun 12, 2026
e87546e
Use np.float16 input in Arrow OOB test generator
Algunenano Jun 12, 2026
d045899
Merge pull request #107348 from ClickHouse/backport/25.8/106395
Algunenano Jun 15, 2026
4f821bb
Backport #107485 to 25.8: validate message length before size - 4 in …
robot-clickhouse Jun 17, 2026
fa8efe4
Merge pull request #107712 from ClickHouse/backport/25.8/107485
Algunenano Jun 17, 2026
526ac95
Backport #100500 to 25.8: Sanitize query_id to prevent CRLF injection…
robot-clickhouse Jun 17, 2026
d251866
Backport #106739 to 25.8: Fix memory-safety and resource-exhaustion i…
robot-clickhouse Jun 18, 2026
ddbcd7d
Merge pull request #107839 from ClickHouse/backport/25.8/106739
Algunenano Jun 18, 2026
468eb89
Backport #107606 to 25.8: Fix path traversal in replicated part fetch
robot-clickhouse Jun 18, 2026
a79299a
Backport #107693 to 25.8: Length-encode the `info` field of the MySQL…
robot-clickhouse Jun 18, 2026
43532b4
Backport #107580 to 25.8: Add missing bounds checks in ORC reader (#1…
robot-clickhouse-ci-1 Jun 19, 2026
406e9db
Merge pull request #107870 from ClickHouse/backport/25.8/107606
Algunenano Jun 19, 2026
1abbc9a
Update PrometheusRequestHandler.cpp
pamarcos Jun 19, 2026
ba2c5a5
Backport #106349 to 25.8: Fix crash in constraint optimization with c…
robot-clickhouse Jun 19, 2026
2e22b81
Use MergeTree in 04299 constraint correlated subquery test
Algunenano Jun 19, 2026
e8fc0e6
Merge pull request #107967 from ClickHouse/backport/25.8/106349
Algunenano Jun 19, 2026
a1fa98e
Merge pull request #107770 from ClickHouse/backport/25.8/100500
alexey-milovidov Jun 20, 2026
d42dd60
Backport #107764 to 25.8: Fix regression: accept 0-byte offsets buffe…
robot-clickhouse Jun 22, 2026
d0b1073
Backport #107412 to 25.8: validate event type bounds in windowFunnel …
robot-clickhouse Jun 22, 2026
285f3f3
Backport #107579 to 25.8: Add missing bounds checks in Elf.cpp and DW…
robot-clickhouse Jun 22, 2026
e2f1a10
Merge pull request #108236 from ClickHouse/backport/25.8/107579
alexey-milovidov Jun 23, 2026
f813d8a
Merge pull request #108155 from ClickHouse/backport/25.8/107764
Algunenano Jun 23, 2026
0ceb876
Backport #107341 to 25.8: Reject deeply nested input in formats to pr…
robot-clickhouse Jun 23, 2026
04d60b2
Backport #107956 to 25.8: Fix crash in has() over a Map with a Dynami…
robot-clickhouse Jun 23, 2026
432f91c
Adapt deep-recursion format tests to 25.8
Algunenano Jun 23, 2026
0b82cd1
Merge pull request #108278 from ClickHouse/backport/25.8/107341
Algunenano Jun 23, 2026
2adcf39
Merge pull request #108220 from ClickHouse/backport/25.8/107412
alexey-milovidov Jun 23, 2026
a7d4373
Merge pull request #108302 from ClickHouse/backport/25.8/107956
Avogar Jun 24, 2026
fbf671c
Backport #108386 to 25.8: Hide secret arguments in EXPLAIN actions
robot-clickhouse Jun 25, 2026
80a1883
Drop HMAC from the 25.8 backport: the HMAC function does not exist in…
Algunenano Jun 26, 2026
9413612
Bump distroless cc-debian13 base digests to clear libssl3t64 CVE-2026…
motsc Jun 26, 2026
1b38b43
Backport #107652 to 25.8: Do not deduplicate restored ReplicatedMerge…
robot-clickhouse Jun 26, 2026
0074319
Backport #108472 to 25.8: Enforce single-component matching for SSL c…
robot-clickhouse Jun 28, 2026
f4c4798
Merge pull request #108531 from ClickHouse/backport/25.8/108386
Algunenano Jun 29, 2026
ae713fe
Merge pull request #108649 from ClickHouse/backport/25.8/107652
pamarcos Jun 29, 2026
54db4af
Backport #107357 to 25.8: Avoid storing `S3` credentials in backup me…
robot-clickhouse Jun 29, 2026
090b3bc
Backport #103824 to 25.8: Fix server crash in `getTablesSplitByDepend…
robot-clickhouse Jun 29, 2026
29e0183
Merge remote-tracking branch 'origin/25.8' into HEAD
alexey-milovidov Jun 30, 2026
c489df8
Merge remote-tracking branch 'origin/25.8' into backport/25.8/108472
alexey-milovidov Jun 30, 2026
0a636f9
Backport #108493 to 25.8: Fix crash on deeply nested expressions with…
robot-clickhouse Jun 30, 2026
0cc91d3
Fix `mysql-java-client` Docker build on 25.8: migrate base image to `…
alexey-milovidov Jun 30, 2026
d080256
Stabilize 04201_trivial_count_with_additional_filter on 25.8
groeneai Jun 30, 2026
680c1a3
Parse nested literal collections in linear time
alexey-milovidov Jun 30, 2026
a697f32
Fix 25.8 `ASTLiteral` allocation in `BackupInfo`
pamarcos Jun 30, 2026
3e51fbd
Backport #107119 to 25.8: Fix flaky test_async_load_databases::test_m…
alexey-milovidov Jun 30, 2026
4c2315e
Merge pull request #108866 from ClickHouse/backport/25.8/103824
thevar1able Jun 30, 2026
e9bfbf5
Fix 25.8 `S3` backport stateless failures
pamarcos Jun 30, 2026
bc0ec9f
Fix 25.8 `S3` backup reader call
pamarcos Jun 30, 2026
6932922
Fix TSan data race in Keeper `AuthID` between preprocess and commit
alexey-milovidov Mar 22, 2026
f9c8520
Update autogenerated version to 25.8.25.37 and contributors
robot-clickhouse Jun 30, 2026
efdce55
Merge pull request #108763 from ClickHouse/backport/25.8/108472
alexey-milovidov Jun 30, 2026
7ad6bd0
Merge pull request #108904 from groeneai/stabilize-04201-trivial-coun…
alexey-milovidov Jun 30, 2026
12ebc55
Backport init.d test retry to 25.8: Fix flaky `Run server init.d`
alexey-milovidov Jun 30, 2026
23aaef3
Merge pull request #108987 from ClickHouse/fix-initd-test-retry-25.8
alexey-milovidov Jun 30, 2026
d3c675a
Merge remote-tracking branch 'origin/25.8' into backport/25.8/100396
alexey-milovidov Jul 1, 2026
1e7f412
Merge pull request #108965 from ClickHouse/backport/25.8/100396
alexey-milovidov Jul 1, 2026
138a51e
Merge pull request #108896 from ClickHouse/backport/25.8/108493
Algunenano Jul 1, 2026
6d84428
Merge pull request #108847 from ClickHouse/backport/25.8/107357
pamarcos Jul 1, 2026
7154c69
Merge branch '25.8' into backport/25.8/107119
alexey-milovidov Jul 1, 2026
da1d740
Merge pull request #108917 from ClickHouse/backport/25.8/107119
alexey-milovidov Jul 1, 2026
074bd32
Merge remote-tracking branch 'origin/25.8' into HEAD
alexey-milovidov Jul 1, 2026
fc51ba3
Merge pull request #107889 from ClickHouse/backport/25.8/107693
alexey-milovidov Jul 2, 2026
fc4a6ee
Backport #108928 to 25.8: Fix uniqExact concurrent-merge crash with G…
robot-clickhouse Jul 2, 2026
f66f50a
Merge pull request #109141 from ClickHouse/backport/25.8/108928
Algunenano Jul 2, 2026
33fef01
Update autogenerated version to 25.8.26.11 and contributors
robot-clickhouse Jul 3, 2026
cfec8e0
Update autogenerated version to 25.8.27.1 and contributors
robot-clickhouse Jul 4, 2026
63792c7
Merge tag 'v25.8.28.1-lts' into bump/stable-25.8/25.8.28
zvonand Jul 8, 2026
a5c332c
Restabilize trivial-count EXPLAIN references for 25.8.28
zvonand Jul 9, 2026
77fbf51
Merge branch 'stable-25.8' into bump/stable-25.8/25.8.28
zvonand Jul 9, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 4 additions & 0 deletions base/poco/JSON/include/Poco/JSON/ParserImpl.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ namespace JSON
static const std::size_t JSON_PARSE_BUFFER_SIZE = 4096;
static const std::size_t JSON_PARSER_STACK_SIZE = 128;
static const int JSON_UNLIMITED_DEPTH = -1;
/// Default nesting limit so that parsing untrusted JSON cannot overflow the native stack via
/// Poco's recursive descent. Far above any legitimate JSON; raise per-parser with setDepth.
static const int JSON_DEFAULT_DEPTH = 1000;

ParserImpl(const Handler::Ptr & pHandler = new ParseHandler, std::size_t bufSize = JSON_PARSE_BUFFER_SIZE);
/// Creates JSON ParserImpl, using the given Handler and buffer size.
Expand Down Expand Up @@ -109,6 +112,7 @@ namespace JSON
struct json_stream * _pJSON;
Handler::Ptr _pHandler;
int _depth;
int _currentDepth = 0;
char _decimalPoint;
bool _allowNullByte;
bool _allowComments;
Expand Down
17 changes: 16 additions & 1 deletion base/poco/JSON/src/ParserImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ namespace JSON {
ParserImpl::ParserImpl(const Handler::Ptr& pHandler, std::size_t bufSize):
_pJSON(new json_stream),
_pHandler(pHandler),
_depth(JSON_UNLIMITED_DEPTH),
_depth(JSON_DEFAULT_DEPTH),
_decimalPoint('.'),
_allowNullByte(true),
_allowComments(false)
Expand All @@ -53,6 +53,7 @@ ParserImpl::~ParserImpl()

void ParserImpl::handle(const std::string& json)
{
_currentDepth = 0;
if (!_allowNullByte && json.find("\\u0000") != json.npos)
throw JSONException("Null bytes in strings not allowed.");

Expand Down Expand Up @@ -139,6 +140,12 @@ void ParserImpl::stripComments(std::string& json)

void ParserImpl::handleArray()
{
// Enforce the configured depth limit (set via setDepth) to avoid a native-stack
// overflow on deeply nested input. _depth == JSON_UNLIMITED_DEPTH (-1) means no limit.
if (_depth != JSON_UNLIMITED_DEPTH && _currentDepth >= _depth)
throw JSONException("Maximum allowed JSON depth exceeded");
++_currentDepth;

json_type tok = json_peek(_pJSON);
while (tok != JSON_ARRAY_END && checkError())
{
Expand All @@ -148,11 +155,17 @@ void ParserImpl::handleArray()

if (tok == JSON_ARRAY_END) handle();
else throw JSONException("JSON array end not found");

--_currentDepth;
}


void ParserImpl::handleObject()
{
if (_depth != JSON_UNLIMITED_DEPTH && _currentDepth >= _depth)
throw JSONException("Maximum allowed JSON depth exceeded");
++_currentDepth;

json_type tok = json_peek(_pJSON);
while (tok != JSON_OBJECT_END && checkError())
{
Expand All @@ -166,6 +179,8 @@ void ParserImpl::handleObject()

if (tok == JSON_OBJECT_END) handle();
else throw JSONException("JSON object end not found");

--_currentDepth;
}


Expand Down
12 changes: 9 additions & 3 deletions ci/docker/integration/mysql_java_client/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,19 @@
# docker build -t altinityinfra/mysql-java-client .
# MySQL Java client docker container

FROM openjdk:8-jdk-alpine
FROM eclipse-temurin:21-jdk-alpine

RUN apk --no-cache add curl

ARG ver=8.1.0
# Connector/J 8.2.0+ (including 9.x) reads the `info` field of the MySQL `OK`
# packet as a length-encoded string; it used to be pinned to 8.1.0 because
# ClickHouse wrote that field as a plain string and newer drivers failed to
# connect. Fixed by length-encoding `info` (see #84542), so test against a
# modern driver. CLASSPATH=. is required so javac-compiled .class files in the
# WORKDIR are found at runtime.
ARG ver=9.7.0
RUN curl -L -o /mysql-connector-j-${ver}.jar https://repo1.maven.org/maven2/com/mysql/mysql-connector-j/${ver}/mysql-connector-j-${ver}.jar
ENV CLASSPATH=$CLASSPATH:/mysql-connector-j-${ver}.jar
ENV CLASSPATH=.:/mysql-connector-j-${ver}.jar

WORKDIR /jdbc
COPY MySQLJavaClientTest.java MySQLJavaClientTest.java
Expand Down
9 changes: 8 additions & 1 deletion ci/jobs/check_style.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
from concurrent.futures import ProcessPoolExecutor
from pathlib import Path

from praktika.info import Info
from praktika.result import Result
from praktika.utils import Shell, Utils

Expand Down Expand Up @@ -322,7 +323,13 @@ def parse_args():
)
)
testname = "test_numbers_check"
if testpattern.lower() in testname.lower():
# Skip on release branches and backport PRs: backports cherry-pick a small
# subset of test files, which legitimately leaves large gaps in the numbering.
info = Info()
release_branch_re = re.compile(r"^\d{2}\.\d+$")
branch_to_check = (info.base_branch or info.git_branch or "").removeprefix("release/")
is_release_branch = bool(release_branch_re.match(branch_to_check))
if testpattern.lower() in testname.lower() and not is_release_branch:
results.append(
Result.from_commands_run(
name=testname,
Expand Down
5 changes: 5 additions & 0 deletions ci/jobs/install_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,12 @@ def prepare_test_scripts():
trap "bash -ex /packages/preserve_logs.sh" ERR
test_env='TEST_THE_DEFAULT_PARAMETER=15'
echo "$test_env" >> /etc/default/clickhouse
# The init.d wrapper prints "Server started" once the pid file exists, but the TCP
# listener can take longer to open on a slow CI host; poll for up to 30s. See #86278.
/etc/init.d/clickhouse-server start
for i in {1..30}; do
clickhouse-client -q 'SELECT version()' && break || sleep 1
done
clickhouse-client -q 'SELECT version()'
grep "$test_env" /proc/$(cat /var/run/clickhouse-server/clickhouse-server.pid)/environ"""
keeper_test = r"""#!/bin/bash
Expand Down
10 changes: 5 additions & 5 deletions cmake/autogenerated_versions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

# NOTE: VERSION_REVISION has nothing common with DBMS_TCP_PROTOCOL_VERSION,
# only DBMS_TCP_PROTOCOL_VERSION should be incremented on protocol changes.
SET(VERSION_REVISION 54523)
SET(VERSION_REVISION 54528)
SET(VERSION_MAJOR 25)
SET(VERSION_MINOR 8)
SET(VERSION_PATCH 23)
SET(VERSION_GITHASH 6d29497525664acca46a1d1cd0d5787e9ad0857d)
SET(VERSION_DESCRIBE v25.8.23.10001.altinitytest)
SET(VERSION_STRING 25.8.23.10001.altinitytest)
SET(VERSION_PATCH 28)
SET(VERSION_GITHASH 33fef01d6a00ddd46f0a359a1716cd0a27fdd9c6)
SET(VERSION_DESCRIBE v25.8.28.10001.altinitytest)
SET(VERSION_STRING 25.8.28.10001.altinitytest)
# end of autochange

SET(VERSION_TWEAK 10001)
Expand Down
2 changes: 1 addition & 1 deletion contrib/curl
Submodule curl updated 971 files
6 changes: 5 additions & 1 deletion contrib/curl-cmake/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ set (SRCS
"${LIBRARY_DIR}/lib/asyn-thrdd.c"
"${LIBRARY_DIR}/lib/bufq.c"
"${LIBRARY_DIR}/lib/bufref.c"
"${LIBRARY_DIR}/lib/cf-dns.c"
"${LIBRARY_DIR}/lib/cf-h1-proxy.c"
"${LIBRARY_DIR}/lib/cf-h2-proxy.c"
"${LIBRARY_DIR}/lib/cf-haproxy.c"
Expand All @@ -37,7 +38,6 @@ set (SRCS
"${LIBRARY_DIR}/lib/curl_memrchr.c"
"${LIBRARY_DIR}/lib/curl_ntlm_core.c"
"${LIBRARY_DIR}/lib/curl_range.c"
"${LIBRARY_DIR}/lib/curl_rtmp.c"
"${LIBRARY_DIR}/lib/curl_sasl.c"
"${LIBRARY_DIR}/lib/curl_sha512_256.c"
"${LIBRARY_DIR}/lib/curl_share.c"
Expand All @@ -47,6 +47,7 @@ set (SRCS
"${LIBRARY_DIR}/lib/cw-out.c"
"${LIBRARY_DIR}/lib/cw-pause.c"
"${LIBRARY_DIR}/lib/dict.c"
"${LIBRARY_DIR}/lib/dnscache.c"
"${LIBRARY_DIR}/lib/doh.c"
"${LIBRARY_DIR}/lib/dynhds.c"
"${LIBRARY_DIR}/lib/easy.c"
Expand Down Expand Up @@ -100,6 +101,7 @@ set (SRCS
"${LIBRARY_DIR}/lib/pingpong.c"
"${LIBRARY_DIR}/lib/pop3.c"
"${LIBRARY_DIR}/lib/progress.c"
"${LIBRARY_DIR}/lib/protocol.c"
"${LIBRARY_DIR}/lib/psl.c"
"${LIBRARY_DIR}/lib/rand.c"
"${LIBRARY_DIR}/lib/ratelimit.c"
Expand All @@ -123,6 +125,8 @@ set (SRCS
"${LIBRARY_DIR}/lib/system_win32.c"
"${LIBRARY_DIR}/lib/telnet.c"
"${LIBRARY_DIR}/lib/tftp.c"
"${LIBRARY_DIR}/lib/thrdpool.c"
"${LIBRARY_DIR}/lib/thrdqueue.c"
"${LIBRARY_DIR}/lib/transfer.c"
"${LIBRARY_DIR}/lib/uint-bset.c"
"${LIBRARY_DIR}/lib/uint-hash.c"
Expand Down
4 changes: 3 additions & 1 deletion contrib/curl-cmake/curl_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,10 @@

#define ENABLE_IPV6
#define USE_OPENSSL
#define USE_THREADS_POSIX
#define HAVE_THREADS_POSIX
#define USE_ARES
#define USE_RESOLV_ARES
#define CURL_ENABLE_NTLM

#ifdef __illumos__
#define HAVE_POSIX_STRERROR_R 1
Expand Down
2 changes: 1 addition & 1 deletion contrib/krb5
Submodule krb5 updated 890 files
11 changes: 7 additions & 4 deletions contrib/krb5-cmake/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -132,16 +132,18 @@ set(ALL_SRCS
"${KRB5_SOURCE_DIR}/lib/gssapi/krb5/ser_sctx.c"
"${KRB5_SOURCE_DIR}/lib/gssapi/krb5/k5sealv3.c"
"${KRB5_SOURCE_DIR}/lib/gssapi/krb5/acquire_cred.c"
"${KRB5_SOURCE_DIR}/lib/gssapi/krb5/k5unseal.c"
# "${KRB5_SOURCE_DIR}/lib/gssapi/krb5/k5unseal.c"
"${KRB5_SOURCE_DIR}/lib/gssapi/krb5/rel_cred.c"
"${KRB5_SOURCE_DIR}/lib/gssapi/krb5/util_cksum.c"
"${KRB5_SOURCE_DIR}/lib/gssapi/krb5/verify_mic.c"
"${KRB5_SOURCE_DIR}/lib/gssapi/krb5/unwrap.c"
"${KRB5_SOURCE_DIR}/lib/gssapi/generic/disp_com_err_status.c"
"${KRB5_SOURCE_DIR}/lib/gssapi/generic/gssapi_generic.c"
"${KRB5_SOURCE_DIR}/lib/gssapi/generic/rel_oid_set.c"
"${KRB5_SOURCE_DIR}/lib/gssapi/generic/oid_ops.c"
"${KRB5_SOURCE_DIR}/lib/gssapi/generic/util_buffer.c"
"${KRB5_SOURCE_DIR}/lib/gssapi/generic/util_buffer_set.c"
"${KRB5_SOURCE_DIR}/lib/gssapi/generic/util_set.c"
# "${KRB5_SOURCE_DIR}/lib/gssapi/generic/util_set.c"
"${KRB5_SOURCE_DIR}/lib/gssapi/generic/util_token.c"
"${KRB5_SOURCE_DIR}/lib/gssapi/generic/disp_major_status.c"
"${KRB5_SOURCE_DIR}/lib/gssapi/generic/util_seqstate.c"
Expand Down Expand Up @@ -415,6 +417,7 @@ set(ALL_SRCS
"${KRB5_SOURCE_DIR}/lib/krb5/os/realm_dom.c"
"${KRB5_SOURCE_DIR}/lib/krb5/os/dnssrv.c"
"${KRB5_SOURCE_DIR}/lib/krb5/os/mk_faddr.c"
"${KRB5_SOURCE_DIR}/lib/krb5/os/addr.c"
# "${KRB5_SOURCE_DIR}/lib/krb5/os/dnsglue.c"
"${KRB5_SOURCE_DIR}/lib/krb5/os/sendto_kdc.c"
"${KRB5_SOURCE_DIR}/lib/krb5/os/hostrealm_registry.c"
Expand Down Expand Up @@ -585,11 +588,11 @@ if(CMAKE_SYSTEM_NAME MATCHES "Darwin")
file(COPY "${CMAKE_CURRENT_SOURCE_DIR}/kcmrpc.hin"
DESTINATION "${CMAKE_CURRENT_BINARY_DIR}/include_private/"
)
file(RENAME
file(RENAME
"${CMAKE_CURRENT_BINARY_DIR}/include_private/kcmrpc.cin"
"${CMAKE_CURRENT_BINARY_DIR}/include_private/kcmrpc.c"
)
file(RENAME
file(RENAME
"${CMAKE_CURRENT_BINARY_DIR}/include_private/kcmrpc.hin"
"${CMAKE_CURRENT_BINARY_DIR}/include_private/kcmrpc.h"
)
Expand Down
2 changes: 1 addition & 1 deletion contrib/libarchive
Submodule libarchive updated 77 files
+1 −0 CMakeLists.txt
+8 −3 Makefile.am
+2 −0 NEWS
+6 −3 README.md
+3 −0 build/cmake/config.h.in
+1 −1 build/version
+2 −2 configure.ac
+1 −0 contrib/android/Android.mk
+2 −2 contrib/untar.c
+2 −0 cpio/CMakeLists.txt
+11 −4 cpio/cmdline.c
+67 −56 cpio/cpio.c
+0 −2 cpio/cpio.h
+2 −2 libarchive/archive.h
+2 −2 libarchive/archive_check_magic.c
+1 −1 libarchive/archive_entry.h
+3 −1 libarchive/archive_options.c
+2 −2 libarchive/archive_pathmatch.c
+11 −11 libarchive/archive_ppmd8.c
+0 −25 libarchive/archive_ppmd8_private.h
+6 −6 libarchive/archive_read.c
+4 −0 libarchive/archive_read_append_filter.c
+3 −3 libarchive/archive_read_disk_posix.c
+3 −3 libarchive/archive_read_disk_windows.c
+1 −1 libarchive/archive_read_support_filter_grzip.c
+2 −2 libarchive/archive_read_support_filter_lz4.c
+1 −1 libarchive/archive_read_support_filter_lzop.c
+5 −5 libarchive/archive_read_support_format_7zip.c
+15 −5 libarchive/archive_read_support_format_cab.c
+2 −2 libarchive/archive_read_support_format_cpio.c
+17 −9 libarchive/archive_read_support_format_iso9660.c
+2 −2 libarchive/archive_read_support_format_lha.c
+40 −33 libarchive/archive_read_support_format_rar.c
+9 −9 libarchive/archive_read_support_format_rar5.c
+3 −3 libarchive/archive_read_support_format_tar.c
+7 −7 libarchive/archive_read_support_format_xar.c
+11 −11 libarchive/archive_read_support_format_zip.c
+1 −1 libarchive/archive_string.c
+1 −1 libarchive/archive_write.c
+19 −3 libarchive/archive_write_add_filter_b64encode.c
+5 −2 libarchive/archive_write_add_filter_bzip2.c
+9 −3 libarchive/archive_write_add_filter_gzip.c
+15 −6 libarchive/archive_write_add_filter_lrzip.c
+10 −4 libarchive/archive_write_add_filter_lz4.c
+5 −2 libarchive/archive_write_add_filter_lzop.c
+19 −3 libarchive/archive_write_add_filter_uuencode.c
+20 −7 libarchive/archive_write_add_filter_xz.c
+38 −14 libarchive/archive_write_add_filter_zstd.c
+4 −4 libarchive/archive_write_disk_posix.c
+1 −1 libarchive/archive_write_disk_windows.c
+7 −2 libarchive/archive_write_set_format_7zip.c
+2 −2 libarchive/archive_write_set_format_cpio_binary.c
+1 −1 libarchive/archive_write_set_format_cpio_newc.c
+1 −1 libarchive/archive_write_set_format_cpio_odc.c
+9 −9 libarchive/archive_write_set_format_iso9660.c
+1 −1 libarchive/archive_write_set_format_mtree.c
+3 −3 libarchive/archive_write_set_format_pax.c
+4 −2 libarchive/archive_write_set_format_xar.c
+8 −5 libarchive/archive_write_set_format_zip.c
+3 −0 libarchive/test/CMakeLists.txt
+18 −0 libarchive/test/test_archive_pathmatch.c
+45 −0 libarchive/test/test_read_format_cab_lzx_oob.c
+11 −0 libarchive/test/test_read_format_cab_lzx_oob.cab.uu
+41 −0 libarchive/test/test_read_format_cab_skip_malformed.c
+95 −0 libarchive/test/test_read_format_cab_skip_malformed.cab.uu
+104 −0 libarchive/test/test_read_format_iso_zisofs_overflow.c
+1,096 −0 libarchive/test/test_read_format_iso_zisofs_overflow.iso.uu
+34 −0 libarchive/test/test_read_set_format.c
+1 −1 libarchive/test/test_warn_missing_hardlink_target.c
+8 −3 libarchive_fe/lafe_getline.c
+11 −4 libarchive_fe/lafe_getline.h
+10 −10 tar/bsdtar.c
+1 −1 tar/read.c
+4 −4 tar/util.c
+8 −8 tar/write.c
+2 −2 unzip/CMakeLists.txt
+1 −1 unzip/bsdunzip.c
3 changes: 3 additions & 0 deletions contrib/libarchive-cmake/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -1031,6 +1031,9 @@ typedef uint64_t uintmax_t;
/* Define to 1 if you have the <stdint.h> header file. */
#define HAVE_STDINT_H 1

/* Define to 1 if you have the <stdio.h> header file. */
#define HAVE_STDIO_H 1

/* Define to 1 if you have the <stdlib.h> header file. */
#define HAVE_STDLIB_H 1

Expand Down
2 changes: 1 addition & 1 deletion contrib/libxml2
Submodule libxml2 updated 58 files
+4 −0 .gitignore
+0 −12 .gitlab-ci.yml
+14 −2 .gitlab-ci/dist.sh
+3 −2 .gitlab-ci/downstream-nokogiri.sh
+0 −16 .gitlab-ci/downstream-perl.sh
+0 −17 .gitlab-ci/downstream-xmlstarlet.sh
+94 −1 CMakeLists.txt
+12 −4 Makefile.am
+125 −0 NEWS
+23 −5 README.md
+1 −1 VERSION
+4 −7 c14n.c
+200 −39 catalog.c
+2 −0 configure.ac
+1 −0 doc/xmllint.xml
+2 −1 encoding.c
+9 −0 entities.c
+2 −0 include/libxml/catalog.h
+4 −0 include/libxml/relaxng.h
+9 −2 include/private/threads.h
+9 −2 libxml2.doap
+19 −3 meson.build
+2 −0 nanohttp.c
+7 −5 parser.c
+11 −6 python/generator.py
+0 −1 python/libxml.c
+29 −18 python/tests/regexp.py
+60 −5 relaxng.c
+1 −0 result/catalogs/recursive
+44 −0 run_and_diff.cmake
+321 −8 runtest.c
+18 −2 schematron.c
+4 −1 shell.c
+3 −0 test/catalogs/catalog-recursive.xml
+0 −0 test/catalogs/recursive.script
+1 −0 test/catalogs/recursive.sgml
+10 −0 test/catalogs/repeated-next-catalog.xml
+0 −2 test/catalogs/test.sh
+4 −0 test/relaxng/include/include-limit.rng
+4 −0 test/relaxng/include/include-limit_1.rng
+4 −0 test/relaxng/include/include-limit_2.rng
+8 −0 test/relaxng/include/include-limit_3.rng
+4 −0 test/relaxng/v012-reader-main.rng
+6 −0 test/schemas/v012-reader-schema-main.xsd
+35 −0 test_xmlcatalog_add_del.cmake
+96 −0 testcatalog.c
+26 −7 testlimits.c
+312 −1 testparser.c
+2 −2 tree.c
+9 −5 uri.c
+9 −3 xmlIO.c
+114 −33 xmllint.c
+6 −4 xmlreader.c
+48 −4 xmlregexp.c
+25 −13 xmlschemas.c
+12 −5 xmlstring.c
+27 −4 xmlwriter.c
+50 −18 xpath.c
6 changes: 3 additions & 3 deletions contrib/libxml2-cmake/linux_x86_64/include/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
#define PACKAGE_NAME "libxml2"

/* Define to the full name and version of this package. */
#define PACKAGE_STRING "libxml2 2.15.1"
#define PACKAGE_STRING "libxml2 2.15.3"

/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "libxml2"
Expand All @@ -86,15 +86,15 @@
#define PACKAGE_URL ""

/* Define to the version of this package. */
#define PACKAGE_VERSION "2.15.1"
#define PACKAGE_VERSION "2.15.3"

/* Define to 1 if all of the C90 standard headers exist (not just the ones
required in a freestanding environment). This macro is provided for
backward compatibility; new code need not use it. */
#define STDC_HEADERS 1

/* Version number of package */
#define VERSION "2.15.1"
#define VERSION "2.15.3"

/* System configuration directory (/etc) */
#define XML_SYSCONFDIR "/usr/local/etc"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,17 @@
/**
* the version string like "1.2.3"
*/
#define LIBXML_DOTTED_VERSION "2.15.1"
#define LIBXML_DOTTED_VERSION "2.15.3"

/**
* the version number: 1.2.3 value is 10203
*/
#define LIBXML_VERSION 21501
#define LIBXML_VERSION 21503

/**
* the version number string, 1.2.3 value is "10203"
*/
#define LIBXML_VERSION_STRING "21501"
#define LIBXML_VERSION_STRING "21503"

/**
* extra version information, used to show a git commit description
Expand All @@ -37,7 +37,7 @@
* Macro to check that the libxml version in use is compatible with
* the version the software has been compiled against
*/
#define LIBXML_TEST_VERSION xmlCheckVersion(21501);
#define LIBXML_TEST_VERSION xmlCheckVersion(21503);

#if 1
/**
Expand Down
2 changes: 1 addition & 1 deletion contrib/mariadb-connector-c
10 changes: 9 additions & 1 deletion contrib/mariadb-connector-c-cmake/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,14 @@ MATH(EXPR MARIADB_VERSION_ID "${MARIADB_CLIENT_VERSION_MAJOR} * 10000 +
${MARIADB_CLIENT_VERSION_MINOR} * 100 +
${MARIADB_CLIENT_VERSION_PATCH}")

set(CPACK_PACKAGE_VERSION_MAJOR 3)
set(CPACK_PACKAGE_VERSION_MINOR 1)
set(CPACK_PACKAGE_VERSION_PATCH 29)
set(CPACK_PACKAGE_VERSION "${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}")
MATH(EXPR MARIADB_PACKAGE_VERSION_ID "${CPACK_PACKAGE_VERSION_MAJOR} * 10000 +
${CPACK_PACKAGE_VERSION_MINOR} * 100 +
${CPACK_PACKAGE_VERSION_PATCH}")

IF (NOT MARIADB_PORT)
set(MARIADB_PORT 3306)
ENDIF ()
Expand Down Expand Up @@ -207,7 +215,7 @@ set(LIBMARIADB_SOURCES ${LIBMARIADB_SOURCES}
${CC_SOURCE_DIR}/plugins/auth/my_auth.c
${CC_SOURCE_DIR}/libmariadb/ma_array.c
${CC_SOURCE_DIR}/libmariadb/ma_charset.c
${CC_SOURCE_DIR}/libmariadb/ma_hash.c
${CC_SOURCE_DIR}/libmariadb/ma_hashtbl.c
${CC_SOURCE_DIR}/libmariadb/ma_net.c
${CC_SOURCE_DIR}/libmariadb/mariadb_charset.c
${CC_SOURCE_DIR}/libmariadb/ma_time.c
Expand Down
2 changes: 1 addition & 1 deletion contrib/mongo-c-driver
Submodule mongo-c-driver updated 292 files
12 changes: 6 additions & 6 deletions contrib/mongo-c-driver-cmake/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ if(NOT USE_MONGODB)
endif()

set(libbson_VERSION_MAJOR 2)
set(libbson_VERSION_MINOR 2)
set(libbson_VERSION_PATCH 2)
set(libbson_VERSION 2.2.2)
set(libbson_VERSION_MINOR 3)
set(libbson_VERSION_PATCH 0)
set(libbson_VERSION 2.3.0)
set(libmongoc_VERSION_MAJOR 2)
set(libmongoc_VERSION_MINOR 2)
set(libmongoc_VERSION_PATCH 2)
set(libmongoc_VERSION 2.2.2)
set(libmongoc_VERSION_MINOR 3)
set(libmongoc_VERSION_PATCH 0)
set(libmongoc_VERSION 2.3.0)

set(LIBBSON_SOURCES_ROOT "${ClickHouse_SOURCE_DIR}/contrib/mongo-c-driver/src")
set(LIBBSON_SOURCE_DIR "${LIBBSON_SOURCES_ROOT}/libbson/src")
Expand Down
2 changes: 1 addition & 1 deletion contrib/orc
2 changes: 1 addition & 1 deletion contrib/postgres
Submodule postgres updated 341 files
1 change: 1 addition & 0 deletions contrib/postgres-cmake/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ set(SRCS
"${POSTGRES_SOURCE_DIR}/src/port/pgstrcasecmp.c"
"${POSTGRES_SOURCE_DIR}/src/port/pg_bitutils.c"
"${POSTGRES_SOURCE_DIR}/src/port/path.c"
"${POSTGRES_SOURCE_DIR}/src/port/timingsafe_bcmp.c"
)

if(NOT OS_DARWIN)
Expand Down
Loading
Loading