1
0

Fix typo. Also added isUtf8mb4Ready() to DbAbstract.

This commit is contained in:
2022-02-13 00:10:19 +01:00
parent d6ebe7a46f
commit 8ecebf8940
2 changed files with 13 additions and 1 deletions

View File

@ -359,4 +359,16 @@ abstract class DbAbstract
public function probe($hash, &$errs)
{
}
/**
* Check if we think that it is safe to ugprade to utf8mb4. This checks version numbers and applied settings.
* Depending on the version of mariadb/mysql we need to check either one or three settings. We check for
* innodb being available with fulltext index and large index support, so that our database scheme can work
*
* @return boolean Whether the database could support utf8mb4
*/
public function isUtf8mb4Ready()
{
return false;
}
}