Show in server info page which natural sorting method is used

This should ease debugging
This commit is contained in:
Jan Böhmer 2024-07-28 14:13:34 +02:00
parent 5ede61118c
commit d6ff22fc44
5 changed files with 129 additions and 5 deletions

View file

@ -55,6 +55,15 @@ class Natsort extends FunctionNode
self::$allowSlowNaturalSort = $allow;
}
/**
* Check if the slow natural sort is allowed
* @return bool
*/
public static function isSlowNaturalSortAllowed(): bool
{
return self::$allowSlowNaturalSort;
}
/**
* Check if the MariaDB version which is connected to supports the natural sort (meaning it has a version of 10.7.0 or higher)
* The result is cached in memory.