Fix MariaDB Sys schema check
This commit is contained in:
parent
4b66af8cdd
commit
97f571bbbb
1 changed files with 2 additions and 3 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue