Merge #17013 - Fix #16985 - Fixing the case-sensitive issue of innodb_file_format

Fixes: #16985
Pull-request: #17013

Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
William Desportes 2021-07-15 02:25:12 +02:00
commit 4fcbd2ae45
No known key found for this signature in database
GPG Key ID: 90A0EF1B8251A889

View File

@ -580,7 +580,7 @@ class Operations
* old versions of MySQL/MariaDB must be returning something or not empty.
* This patch is to support newer MySQL/MariaDB while also for backward compatibilities.
*/
if (($innodb_file_format === 'Barracuda') || ($innodb_file_format == '')
if ((strtolower($innodb_file_format) === 'barracuda') || ($innodb_file_format == '')
&& $innodbEnginePlugin->supportsFilePerTable()
) {
$possible_row_formats['INNODB']['DYNAMIC'] = 'DYNAMIC';