Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[8.x] Fix code to address different connection strings for MariaDB in the database queue driver #39374

Merged
merged 1 commit into from
Oct 26, 2021
Merged

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