We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fa225ab commit 57634d0Copy full SHA for 57634d0
1 file changed
system/Database/Query.php
@@ -368,7 +368,7 @@ protected function compileBinds()
368
{
369
$sql = $this->finalQueryString;
370
371
- $hasNamedBinds = strpos($sql, ':') !== false;
+ $hasNamedBinds = strpos($sql, ':') !== false && strpos($sql, ':=') === false;
372
373
if (empty($this->binds) || empty($this->bindMarker) ||
374
(strpos($sql, $this->bindMarker) === false &&
0 commit comments