From 8dd8d48a8b4be0c0b306192d7303f6b08f7cc48b Mon Sep 17 00:00:00 2001 From: Drew Tingen Date: Thu, 13 Aug 2020 22:41:31 -0400 Subject: [PATCH] fix: Fixed cultureinfo sqlite connection for 4 series compatability --- ICD.Common.Utils/Globalization/IcdCultureInfo.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ICD.Common.Utils/Globalization/IcdCultureInfo.cs b/ICD.Common.Utils/Globalization/IcdCultureInfo.cs index 50aa17f..9678d0f 100644 --- a/ICD.Common.Utils/Globalization/IcdCultureInfo.cs +++ b/ICD.Common.Utils/Globalization/IcdCultureInfo.cs @@ -97,9 +97,9 @@ namespace ICD.Common.Utils.Globalization private const string SQL_LOCAL_DATABASE_FILE = "CultureInfo.sqlite"; private const string SQL_CONNECTION_STRING_FORMAT = #if SIMPLSHARP - "Data Source = {0}; Version = 3; ReadOnly = True"; + "Data Source={0};Version=3;ReadOnly=True"; #else - "Data Source = {0}"; + "Data Source={0}"; #endif private const string SQL_CMD_SELECT_BY_NAME = "select * from cultureinfo where name = @name collate nocase"; private const string SQL_CMD_SELECT_BY_LCID = "select * from cultureinfo where lcid = @lcid";