From b8afd896fbc7cfe7f2c16b8d94a6bdb0ea1cffe5 Mon Sep 17 00:00:00 2001 From: Julius de Bruijn Date: Fri, 12 Jun 2020 14:48:00 +0200 Subject: [PATCH] Better naming for sql family string representation --- src/connector/connection_info.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/connector/connection_info.rs b/src/connector/connection_info.rs index 97b74f4d7..42e5a76e6 100644 --- a/src/connector/connection_info.rs +++ b/src/connector/connection_info.rs @@ -226,13 +226,13 @@ impl SqlFamily { pub fn as_str(self) -> &'static str { match self { #[cfg(feature = "postgresql")] - SqlFamily::Postgres => "postgresql", + SqlFamily::Postgres => "PostgreSQL", #[cfg(feature = "mysql")] - SqlFamily::Mysql => "mysql", + SqlFamily::Mysql => "MySQL", #[cfg(feature = "sqlite")] - SqlFamily::Sqlite => "sqlite", + SqlFamily::Sqlite => "SQLite", #[cfg(feature = "mssql")] - SqlFamily::Mssql => "mssql", + SqlFamily::Mssql => "SQL Server", } }