Skip to content

Commit

Permalink
MDL-73450 installation: Support Aurora MySQL >= 8.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Limekiller committed Feb 10, 2022
1 parent 3105d5b commit d130a9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/dml/mysqli_native_moodle_database.php
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ protected function is_antelope_file_format_no_more_supported() {
// - innodb_file_format_max
// - innodb_large_prefix
// 1. MySQL: deprecated in 5.7.7 and removed 8.0.0+.
$ismysqlge8d0d0 = ($this->get_dbtype() == 'mysqli') &&
$ismysqlge8d0d0 = ($this->get_dbtype() == 'mysqli' || $this->get_dbtype() == 'auroramysql') &&
version_compare($this->get_server_info()['version'], '8.0.0', '>=');
// 2. MariaDB: deprecated in 10.2.0 and removed 10.3.1+.
$ismariadbge10d3d1 = ($this->get_dbtype() == 'mariadb') &&
Expand Down

0 comments on commit d130a9d

Please sign in to comment.