Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions src/Database/Adapter/MariaDB.php
Original file line number Diff line number Diff line change
Expand Up @@ -2001,9 +2001,6 @@ public function getSupportForNumericCasting(): bool

public function getSupportForIndexArray(): bool
{
/**
* Disabled to be compatible with Mysql adapter
*/
return false;
return true;
}
}
3 changes: 1 addition & 2 deletions src/Database/Adapter/MySQL.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down