Repository navigation
Refuse CREATE TEMPORARY VIEW with readonly = 1 - #132016
PedroTadim merged 4 commits into
Conversation
|
Workflow [PR], commit [e2ae1ab] Summary: ❌
AI ReviewSummaryPR #132016 makes Final VerdictStatus: ✅ Approve |
After `SET readonly = 1`, the test runner cannot send its `log_comment` setting, so every following query failed with `READONLY` regardless of the fix: the two negative checks passed trivially and the final `SELECT` failed in Fast test. Pass `--readonly` on the client command line instead and match the specific `Cannot execute query in readonly mode` message. https://s3.amazonaws.com/clickhouse-test-reports/praktika.html?PR=132016&sha=latest&name_0=PR&name_1=Fast%20test ClickHouse#132016 Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
🕵 Fast test failed in the new test: after |
Closes: #132004
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
CREATE TEMPORARY VIEWis now refused withreadonly = 1, the same asCREATE TEMPORARY TABLE.Description
With
readonly = 1onlyCREATE_TEMPORARY_TABLEwas innot_readonly_1_flags, soCREATE TEMPORARY VIEW(which asks forCREATE_TEMPORARY_VIEW) went through. I addedCREATE_TEMPORARY_VIEWto the same flags.readonly = 2still allows both. The new test fails on master.Workflow [PR]
Sync PR [sync-upstream/pr/132016]
Version info
26.11.1.2556-master(included in26.11and later)