Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Quick update on a little test.

  • Loading branch information...
commit c226e8ea0192754331aed4759e0a5ef41ca42ea0 1 parent ccee9b6
@ccgus authored
Showing with 7 additions and 1 deletion.
  1. +6 −0 fmdb.xcodeproj/project.pbxproj
  2. +1 −1  src/fmdb.m
View
6 fmdb.xcodeproj/project.pbxproj
@@ -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 @@
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 = Release;
};
@@ -314,6 +318,7 @@
GCC_WARN_PEDANTIC = YES;
GCC_WARN_SIGN_COMPARE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
+ MACOSX_DEPLOYMENT_TARGET = 10.7;
};
name = Debug;
};
@@ -324,6 +329,7 @@
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
+ MACOSX_DEPLOYMENT_TARGET = 10.7;
};
name = Release;
};
View
2  src/fmdb.m
@@ -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];
Please sign in to comment.
Something went wrong with that request. Please try again.