mirror of
https://github.com/moodle/moodle.git
synced 2025-04-22 08:55:15 +02:00
MDL-73450 installation: Support Aurora MySQL >= 8.0.0
This commit is contained in:
parent
541d999d27
commit
3c60f8a0ce
@ -313,7 +313,7 @@ class mysqli_native_moodle_database extends moodle_database {
|
||||
// - 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') &&
|
||||
|
Loading…
x
Reference in New Issue
Block a user