Skip to content

Merge release 3.5.1 into 3.6.x#12105

Merged
greg0ire merged 4 commits into3.6.xfrom
3.5.x-merge-up-into-3.6.x_OhbrLWrh
Aug 5, 2025
Merged

Merge release 3.5.1 into 3.6.x#12105
greg0ire merged 4 commits into3.6.xfrom
3.5.x-merge-up-into-3.6.x_OhbrLWrh

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions github-actions bot commented Aug 5, 2025

greg0ire added 4 commits July 31, 2025 21:49
In aa141bf, I wrongly assumed that
$tableName would never contain a dot as I was not able to write a test
that caused that to happen.

The secret recipe appears to be to define a schema and to quote the
table name.

To fix it for the table name, I am calling quoteSingleIdentifier()
before doing the concatenation between schema name and table name.

To fix it for the sequence name, which seems only useful when using DBAL
3 for some reason, I reuse some of the logic of the deprecated method.

Fixes #12041
That test was testing too many thing and not really making it clear what
the expected output was, given some output. Instead, let us create 2
tests, each pertaining to the class under test.
This comment is rendered useless by the phpdoc comment below it.
Instead, we can comment on what exactly "quoted" means.
Quote parts of the table name
@greg0ire greg0ire merged commit 7606162 into 3.6.x Aug 5, 2025
86 checks passed
@greg0ire greg0ire deleted the 3.5.x-merge-up-into-3.6.x_OhbrLWrh branch August 5, 2025 06:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant