Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ccgus/fmdb.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/fmdb/FMDatabasePool.h')
-rw-r--r--src/fmdb/FMDatabasePool.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/fmdb/FMDatabasePool.h b/src/fmdb/FMDatabasePool.h
index 1915858..692b8ae 100644
--- a/src/fmdb/FMDatabasePool.h
+++ b/src/fmdb/FMDatabasePool.h
@@ -7,6 +7,7 @@
//
#import <Foundation/Foundation.h>
+#import "sqlite3.h"
@class FMDatabase;
@@ -155,6 +156,8 @@
- (void)inDeferredTransaction:(void (^)(FMDatabase *db, BOOL *rollback))block;
+#if SQLITE_VERSION_NUMBER >= 3007000
+
/** Synchronously perform database operations in pool using save point.
@param block The code to be run on the `FMDatabasePool` pool.
@@ -165,6 +168,7 @@
*/
- (NSError*)inSavePoint:(void (^)(FMDatabase *db, BOOL *rollback))block;
+#endif
@end