Skip to content

Commit

Permalink
Merge branch 'MDL-78492_aurora_mysql_rowformat_master' of https://git…
Browse files Browse the repository at this point in the history
  • Loading branch information
HuongNV13 committed Aug 8, 2023
2 parents cb1d610 + 1a561c2 commit 59418b5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/dml/mysqli_native_moodle_database.php
Expand Up @@ -404,6 +404,10 @@ public function is_compressed_row_format_supported($cached = true) {
} else if ($this->get_row_format() !== 'Barracuda') {
$this->compressedrowformatsupported = false;

} else if ($this->get_dbtype() === 'auroramysql') {
// Aurora MySQL doesn't support COMPRESSED and falls back to COMPACT if you try to use it.
$this->compressedrowformatsupported = false;

} else {
// All the tests passed, we can safely use ROW_FORMAT=Compressed in sql statements.
$this->compressedrowformatsupported = true;
Expand Down

0 comments on commit 59418b5

Please sign in to comment.