Skip to content

fix(dbal): Regression on PreparedStatement caused by fcc63b9603596c1b - #63294

Open
paulijar wants to merge 1 commit into
masterfrom
fix/dbal-regression
Open

fix(dbal): Regression on PreparedStatement caused by fcc63b9603596c1b#63294
paulijar wants to merge 1 commit into
masterfrom
fix/dbal-regression

Conversation

@paulijar

Copy link
Copy Markdown
Contributor

This small change included in #58891 broke PreparedStatement::bindValue and PreparedStatement::bindParam. The empty array has different meaning on $params argument of PDOStatement::execute than the null value, purging all the parameters previously passed to the statement.

The problem commit is included in v35.0.0beta1 and v35.0.0beta2 but not in any v34 versions.

Checklist

AI (if applicable)

  • The content of this PR was partly or fully generated using AI

This small change included in #58891
broke PreparedStatement::bindValue and PreparedStatement::bindParam. The
empty array has different meaning on $params than the null value, purging all
the parameters previously passed to Statement.

The problem commit is included in v35.0.0beta1 and v35.0.0beta2 but not in
any v34 versions.

Signed-off-by: Pauli Järvinen <pauli.jarvinen@gmail.com>
@paulijar paulijar added this to the Nextcloud 35 milestone Aug 15, 2026
@paulijar
paulijar requested a review from a team as a code owner August 15, 2026 15:21
@paulijar
paulijar requested review from Altahrim, CarlSchwan, come-nc and salmart-dev and removed request for a team August 15, 2026 15:21
@paulijar paulijar added the bug label Aug 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant