Fix MariaDB Sys schema check

This commit is contained in:
Matija Nalis 2022-12-30 15:01:46 +01:00
parent 4b66af8cdd
commit 97f571bbbb

View file

@ -3922,11 +3922,10 @@ sub mysqsl_pfs {
unless ( grep /^sys$/, select_array("SHOW DATABASES") ) { unless ( grep /^sys$/, select_array("SHOW DATABASES") ) {
infoprint "Sys schema is not installed."; infoprint "Sys schema is not installed.";
push( @generalrec, push( @generalrec,
mysql_version_ge( 10, 0 ) ?
"Consider installing Sys schema from https://github.com/FromDual/mariadb-sys for MariaDB" :
"Consider installing Sys schema from https://github.com/mysql/mysql-sys for MySQL" "Consider installing Sys schema from https://github.com/mysql/mysql-sys for MySQL"
) unless ( mysql_version_le( 5, 6 ) ); ) unless ( mysql_version_le( 5, 6 ) );
push( @generalrec,
"Consider installing Sys schema from https://github.com/FromDual/mariadb-sys for MariaDB"
) unless ( mysql_version_ge( 10, 0 ) );
return; return;
} }