From bd0dca7f1dcffef70fe4e60c5261bbe2043f49e9 Mon Sep 17 00:00:00 2001 From: Ansgar Becker Date: Fri, 11 Dec 2020 11:13:59 +0100 Subject: [PATCH] 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) --- source/dbconnection.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/dbconnection.pas b/source/dbconnection.pas index 586a15fb..67d8e695 100644 --- a/source/dbconnection.pas +++ b/source/dbconnection.pas @@ -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';