Skip to content

Fix quoted bindings for non-PDO connections - #754

Merged
itsgoingd merged 2 commits into
itsgoingd:masterfrom
FeBe95:patch-1
Jun 23, 2026
Merged

Fix quoted bindings for non-PDO connections#754
itsgoingd merged 2 commits into
itsgoingd:masterfrom
FeBe95:patch-1

Conversation

@FeBe95

@FeBe95 FeBe95 commented Feb 8, 2026

Copy link
Copy Markdown
Contributor

When using a non-PDO connection (e.g. https://github.com/glushkovds/phpclickhouse-laravel), parameter bindings were empty.

The fallback quoting mechanism in Clockwork uses str_replace() instead of $pdo->quote(), so we can also use it for non-PDO connections,

Before:

Bildschirmfoto am 2026-02-08 um 01 14 26

After:

Bildschirmfoto am 2026-02-08 um 01 14 43

@FeBe95 FeBe95 changed the title Fix quoted bindings for non-PDO connetions Fix quoted bindings for non-PDO connections Jun 23, 2026
@itsgoingd
itsgoingd merged commit 0a5638e into itsgoingd:master Jun 23, 2026
@itsgoingd

Copy link
Copy Markdown
Owner

Thank you!

@FeBe95
FeBe95 deleted the patch-1 branch June 23, 2026 15:00
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.

2 participants