e107 Bootstrap CMS (Content Management System) v2 with PHP, MySQL, HTML5, jQuery and Twitter Bootstrap. Issue Discussion Room: https://gitter.im/e107inc/e107
GNU General Public License v3.0
318
stars
212
forks
source link
MariaDB index parser (`db_verify::getIndex()`) doesn't detect optional parts of `index_col_name` in `index_definition` #5054
Closed
Deltik closed 10 months ago
Bug Description
In the MariaDB
CREATE TABLE
index_definition
, theindex_col_name
could have an optional length and a sort order:db_verify::getIndex()
doesn't handle this possibility, leading to a database validity check failure despite the index actually existing.How to Reproduce
/e107_admin/db.php?mode=verify_sql
with MariaDB 10.6.14?Expected Behavior
No check failure after auto-fixing all the failures