Merge pull request #626 from mnalis/fix-sys-mariadb

Fix MariaDB Sys schema check
This commit is contained in:
Jean-Marie Renouard 2023-01-24 09:16:34 +01:00 committed by GitHub
commit 18c6ed5bcf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;
} }