Prechádzať zdrojové kódy

I'm starting to think I'm doing this the wrong way.

August Mueller 14 rokov pred
rodič
commit
86846836bd
1 zmenil súbory, kde vykonal 3 pridanie a 0 odobranie
  1. 3 0
      src/FMDatabase.m

+ 3 - 0
src/FMDatabase.m

@@ -24,6 +24,9 @@ + (BOOL)isThreadSafe {
 }
 
 - (id)initWithPath:(NSString*)aPath {
+    
+    assert(sqlite3_threadsafe()); // whoa there big boy- gotta make sure sqlite it happy with what we're going to do.
+    
     self = [super init];
     
     if (self) {