From 025c940a173438e98e9ec74c14c135008ffd0780 Mon Sep 17 00:00:00 2001 From: Robert Wagner Date: Mon, 29 Jul 2024 17:09:19 +1000 Subject: [PATCH] Removed PRAGMA because it doesn't work in this version --- src/dbup-sqlite/Helpers/InMemorySQLiteDatabase.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/dbup-sqlite/Helpers/InMemorySQLiteDatabase.cs b/src/dbup-sqlite/Helpers/InMemorySQLiteDatabase.cs index c58e744..2985b19 100644 --- a/src/dbup-sqlite/Helpers/InMemorySQLiteDatabase.cs +++ b/src/dbup-sqlite/Helpers/InMemorySQLiteDatabase.cs @@ -23,8 +23,7 @@ public InMemorySQLiteDatabase() { DataSource = ":memory:", DefaultTimeout = 5, - Mode = SqliteOpenMode.Memory, - ConnectionString = "PRAGMA encoding='UTF-16'; PRAGMA journal_mode='MEMORY';" + Mode = SqliteOpenMode.Memory }; ConnectionString = connectionStringBuilder.ToString();