-
-
Notifications
You must be signed in to change notification settings - Fork 436
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
Switched to ROW_FORMAT DYNAMIC for better compatibility with MariaDB 10.3 / 10.11 #4027
Conversation
…er the tables' row formats of catalog/product_website and catalog/product_relation from FIXED to DYNAMIC
app/code/core/Mage/Catalog/sql/catalog_setup/upgrade-1.6.0.0.19.1.6-1.6.0.0.19.1.7.php
Outdated
Show resolved
Hide resolved
Is this also supposed to fix new install? cause if I'm not mistaken it seems to fix only already installed projects |
I only had already installed shops in my mind. I'll check against a new shop in the next couple of days. |
|
also tested a new installation with no problem |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
approving but waiting for more feedback before merging
since nobody pitched in, I'll merge. |
Description (*)
I increased the version of
Mage/Catalog
to run a database migration script to alter the tablescatalog/product_relations
andcatalog_product_website
to not useROW_FORMAT=FIXED
anymore.I decided to instead use
ROW_FORMAT=DYNAMIC
because it seems to be the standard on MariaDB: https://mariadb.com/kb/en/innodb-dynamic-row-format/For more, see the discussion #3962
Fixed Issues (if relevant)
Database fails to get imported to MariaDB 10.3.* and 10.11.* if InnoDB tables have
ROW_FORMAT=FIXED
Questions or comments
I did manual tests on MariaDB 10.3 and 10.11. The results are looking good to me. (Meaning: the migration ran throug with success, the shops are still working :) , no apparent error messages or strange behavior)
I guess this should also work on MySQL but I don't have any at hand for testing. So maybe, before approving it, somenone wants to do some testing here.
Contribution checklist (*)