-
Notifications
You must be signed in to change notification settings - Fork 9.4k
[B2B] Issue with REGEXP_LIKE on mariadb on Magento_Company #39804
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
Comments
Hi @lohoy. Thank you for your report.
Join Magento Community Engineering Slack and ask your questions in #github channel. |
Using REGEXP:
|
Hello @nicolas-medina, Thanks for your reponse, I use REGEXP to fix this issue. Cordially. |
The same issue happens on 2.4.7-p5 EE version |
Looks like there is a patch for this problem: magento/magento-cloud-patches@4d69738 |
The same issue for upgrading "EE" version
|
Upgrade B2B module or install this patch. |
Preconditions and environment
We have an issue on Magento 2.4.6-p10 with vendor/magento/module-company/Setup/Patch/Data/SetCompanyForStructure.php.
The SQL query use REGEXP_LIKE but it's not implemented on MariaDB 10.6.
I change the patch to use REGEXP instead of REGEXP_LIKE.
Can you fix this issue because Magento recommande MariaDB and use MariaDB on cloud projects.
Cordially.
Steps to reproduce
Update Magento_Company module to 102.0.2.
bin/magento setup:upgrade
Error :
Expected result
Setup upgrade success
Actual result
Additional information
No response
Release note
No response
Triage and priority
The text was updated successfully, but these errors were encountered: