Skip to content

Conversation

antoniopaisfernandes
Copy link
Contributor

Hello,

There are some MariaDB connection strings that evaluate to true for supporting "FOR UPDATE". This PR re-adds the conditional ! strpos($databaseVersion, 'MariaDB') to avoid any mismatches with MySQL and also is more strict with the Str::after to avoid removing the version of MariaDB...

As per noted in #39311 and tested with multiple MariaDB connection strings:

image

@taylorotwell taylorotwell merged commit b9fc4df into laravel:8.x Oct 26, 2021
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