From b8a86730710123d2763e70d919371f5432935280 Mon Sep 17 00:00:00 2001 From: Florian Pitz Date: Mon, 22 Jun 2020 11:06:39 +0200 Subject: [PATCH 1/2] Corrected Ambiguous use of 'SQLITE_DETERMINISTIC' #986 --- Sources/SQLite/Core/Connection.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/SQLite/Core/Connection.swift b/Sources/SQLite/Core/Connection.swift index 1bbf7f73..189f5116 100644 --- a/Sources/SQLite/Core/Connection.swift +++ b/Sources/SQLite/Core/Connection.swift @@ -587,7 +587,7 @@ public final class Connection { var flags = SQLITE_UTF8 #if !os(Linux) if deterministic { - flags |= SQLITE_DETERMINISTIC + flags |= SQLite.SQLITE_DETERMINISTIC } #endif sqlite3_create_function_v2(handle, function, Int32(argc), flags, unsafeBitCast(box, to: UnsafeMutableRawPointer.self), { context, argc, value in From 66d4c76fbad5b808df69626f9b7956ded67ff3f0 Mon Sep 17 00:00:00 2001 From: Florian Pitz Date: Mon, 5 Oct 2020 15:31:11 +0200 Subject: [PATCH 2/2] first try --- Sources/SQLiteObjc/include/SQLiteObjc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/SQLiteObjc/include/SQLiteObjc.h b/Sources/SQLiteObjc/include/SQLiteObjc.h index e8ba9a7d..00900c2e 100644 --- a/Sources/SQLiteObjc/include/SQLiteObjc.h +++ b/Sources/SQLiteObjc/include/SQLiteObjc.h @@ -26,7 +26,7 @@ #if defined(SQLITE_SWIFT_STANDALONE) @import sqlite3; #else -@import SQLite3; +@import SQLCipher.sqlite3; #endif NS_ASSUME_NONNULL_BEGIN