In the code you check for the MariaDB version using this:
if ( $isMaria && $results->major >= 10 && $results->minor >= 3 ) {
$results->unconstrained = 1;
return ImfsQueries::makeNumeric( $results );
}
/* mariadb 10.2 ar before */
if ( $isMaria && $results->major >= 10 ) {
$results->unconstrained = ImfsQueries::hasLargePrefix();
return ImfsQueries::makeNumeric( $results );
}
We just released 11.0 GA which means the first “if” will fail because the minor is < 3. Given that 10.2 hasn’t been supported for over a year I recommend just doing if ( $isMaria )
and dropping the second case.
Thanks!
Andrew Hutchings
MariaDB Foundation