Skip to content

Commit

Permalink
Merge pull request #5479 from mvorisek/patch-1
Browse files Browse the repository at this point in the history
Fix AbstractMySQLPlatform comment typo
  • Loading branch information
derrabus authored Jul 8, 2022
2 parents 458200e + 6d906af commit 2485d0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Platforms/AbstractMySQLPlatform.php
Original file line number Diff line number Diff line change
Expand Up @@ -1159,7 +1159,7 @@ public function getBlobTypeDeclarationSQL(array $column)
*/
public function quoteStringLiteral($str)
{
$str = str_replace('\\', '\\\\', $str); // MySQL requires backslashes to be escaped aswell.
$str = str_replace('\\', '\\\\', $str); // MySQL requires backslashes to be escaped

return parent::quoteStringLiteral($str);
}
Expand Down

0 comments on commit 2485d0a

Please sign in to comment.