@@ -282,7 +282,9 @@
GCC_PREFIX_HEADER = fmdb_Prefix.pch;
INSTALL_PATH = "$(HOME)/bin";
LIBRARY_SEARCH_PATHS = "$(LIBRARY_SEARCH_PATHS)";
+ MACOSX_DEPLOYMENT_TARGET = 10.7;
PRODUCT_NAME = fmdb;
+ SDKROOT = macosx;
};
name = Debug;
@@ -298,7 +300,9 @@
name = Release;
@@ -314,6 +318,7 @@
GCC_WARN_PEDANTIC = YES;
GCC_WARN_SIGN_COMPARE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
@@ -324,6 +329,7 @@
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
@@ -532,7 +532,7 @@ int main (int argc, const char * argv[]) {
FMDBQuickCheck([db executeUpdate:@"create table t5 (a text, b int, c blob, d text, e text)"]);
FMDBQuickCheck(([db executeUpdateWithFormat:@"insert into t5 values (%s, %d, %@, %c, %lld)", "text", 42, @"BLOB", 'd', 12345678901234]));
- rs = [db executeQueryWithFormat:@"select * from t5 where a = %s", "text"];
+ rs = [db executeQueryWithFormat:@"select * from t5 where a = %s and a = %@ and b = %d", "text", @"text", 42];
FMDBQuickCheck((rs != nil));
[rs next];