Commit History

Author SHA1 Message Date
  ccgus c18eac424c NSAssert fixes for building on older sdks. 14 years ago
  August Mueller 5f14e7da23 Added the ability to make custom sqlite functions from blocks. 14 years ago
  August Mueller c3ec8a3b4e Added some macros so that FMDB can be used in ARC and non-ARC'd projects. 14 years ago
  August Mueller d9c0b0eba8 executeUpdate: wasn't returning the correct value when a bad query went though. 14 years ago
  Sriram Patil c850c14442 Fixed a bug of closed db and did some pool optimizations 14 years ago
  August Mueller 2f0225b661 Added a warning if there are result sets open when using the database queue. 14 years ago
  August Mueller 2ae7b82a1a Oh, just a little refactor. 14 years ago
  ccgus 9c5df78bbd Include fixes, and making an exception thrown when a query is used in executeUpdate: 14 years ago
  August Mueller ebc0f4edd5 Added __weak ivar support for the database pool if you're on 10.7 or later. 14 years ago
  ccgus 93d4536e5e added a warning as a note to myself to make _pool a weak ivar. 14 years ago
  August Mueller dc359ce0de The setting to crash on errors actually crashes now (by way of calling abort), instead of throwing an exception. 14 years ago
  ccgus b057ebf36b Took out a leftover debug statement. 14 years ago
  ccgus 12d227cfe1 Fixed some compiler warnings that show up in a future version of clang. 14 years ago
  August Mueller a3498a31c3 Changed FMDatabase's "- (BOOL)update:(NSString*)sql error:(NSError**)outErr bind:(id)bindArgs, ... " to "- (BOOL)update:(NSString*)sql withErrorAndBindings:(NSError**)outErr, ..." as the previous method didn't actually work as advertised in the way it was written. Thanks to @jaekwon for pointing this out. 14 years ago
  August Mueller b6af107dbb Added parameter support. 14 years ago
  August Mueller 30d4780aa8 make sure this value is cast correctly. 14 years ago
  ccgus e2120a6d94 added support for savepoints (a kind of nested transaction) 14 years ago
  August Mueller dfd8fb99ed Bug fixes, doc updates 14 years ago
  August Mueller a010ef4f26 Got the order of things wrong with transactions + a pool. 14 years ago
  August Mueller 793c6ef0a7 Another stab at doing things and making threads happy. 14 years ago
  August Mueller 86846836bd I'm starting to think I'm doing this the wrong way. 14 years ago
  August Mueller 4d5d9890d7 Cleaning up a stray NSLog 14 years ago
  August Mueller 7c2141e5b9 So, this is an attempt to make FMDatabase thread safe. Fun times! 14 years ago
  August Mueller a545f71d08 Fixed a problem under GC where leaked statments were keeping a database from closing. Patch from Chris Dolan. 14 years ago
  August Mueller cef9e7b58c Added a warning when you try and use a database that wasn't opened. Hacked together based on patches from Drarok Ithaqua 14 years ago
  August Mueller c9c2637200 Changed some methods to properties. Hello 2011. 14 years ago
  August Mueller c69c9bae7c Examples from davedelong 14 years ago
  August Mueller ee222a9a15 Code cleanup, and renamed a method back to what it prevously was, since I don't want to break any existing code. 14 years ago
  Dave DeLong c8ff945f52 Added methods to execute a query or update with an NSString-style format string 15 years ago
  Dave DeLong ae8622d5b0 Closing a database now closes all open resultsets 15 years ago