diff --git a/src/Database/Adapter/MariaDB.php b/src/Database/Adapter/MariaDB.php index ddfd75957..796e3fc84 100644 --- a/src/Database/Adapter/MariaDB.php +++ b/src/Database/Adapter/MariaDB.php @@ -2001,9 +2001,6 @@ public function getSupportForNumericCasting(): bool public function getSupportForIndexArray(): bool { - /** - * Disabled to be compatible with Mysql adapter - */ - return false; + return true; } } diff --git a/src/Database/Adapter/MySQL.php b/src/Database/Adapter/MySQL.php index e222930b0..e0db5b15c 100644 --- a/src/Database/Adapter/MySQL.php +++ b/src/Database/Adapter/MySQL.php @@ -81,10 +81,9 @@ public function getSizeOfCollectionOnDisk(string $collection): int public function getSupportForIndexArray(): bool { /** - * Disabling index creation due to Mysql bug * @link https://bugs.mysql.com/bug.php?id=111037 */ - return false; + return true; } public function getSupportForCastIndexArray(): bool