Rename network type "MySQL ..." again to "MariaDB or MySQL ...", and name it "MySQL" only if we're sure it's not anything else. This is a bit hacky, as I have to leave IsMySQL a bit inexact, so it still matches servers with version_comment="Source distribution" (see issue #1099)

This commit is contained in:
Ansgar Becker
2020-12-11 11:13:59 +01:00
parent 2eef57ae1c
commit bd0dca7f1d

View File

@@ -1439,7 +1439,7 @@ begin
Prefix := 'MemSQL'
else if IsProxySQLAdmin then
Prefix := 'ProxySQL Admin'
else if IsMySQL then
else if ContainsText(ServerVersion, 'mysql') then
Prefix := 'MySQL'
else
Prefix := 'MariaDB or MySQL';