August Mueller
|
d9c0b0eba8
executeUpdate: wasn't returning the correct value when a bad query went though.
|
hace 14 años |
Sriram Patil
|
c850c14442
Fixed a bug of closed db and did some pool optimizations
|
hace 14 años |
August Mueller
|
2f0225b661
Added a warning if there are result sets open when using the database queue.
|
hace 14 años |
August Mueller
|
2ae7b82a1a
Oh, just a little refactor.
|
hace 14 años |
ccgus
|
9c5df78bbd
Include fixes, and making an exception thrown when a query is used in executeUpdate:
|
hace 14 años |
August Mueller
|
ebc0f4edd5
Added __weak ivar support for the database pool if you're on 10.7 or later.
|
hace 14 años |
ccgus
|
93d4536e5e
added a warning as a note to myself to make _pool a weak ivar.
|
hace 14 años |
August Mueller
|
dc359ce0de
The setting to crash on errors actually crashes now (by way of calling abort), instead of throwing an exception.
|
hace 14 años |
ccgus
|
b057ebf36b
Took out a leftover debug statement.
|
hace 14 años |
ccgus
|
12d227cfe1
Fixed some compiler warnings that show up in a future version of clang.
|
hace 14 años |
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.
|
hace 14 años |
August Mueller
|
b6af107dbb
Added parameter support.
|
hace 14 años |
August Mueller
|
30d4780aa8
make sure this value is cast correctly.
|
hace 14 años |
ccgus
|
e2120a6d94
added support for savepoints (a kind of nested transaction)
|
hace 14 años |
August Mueller
|
dfd8fb99ed
Bug fixes, doc updates
|
hace 14 años |
August Mueller
|
a010ef4f26
Got the order of things wrong with transactions + a pool.
|
hace 14 años |
August Mueller
|
793c6ef0a7
Another stab at doing things and making threads happy.
|
hace 14 años |
August Mueller
|
86846836bd
I'm starting to think I'm doing this the wrong way.
|
hace 14 años |
August Mueller
|
4d5d9890d7
Cleaning up a stray NSLog
|
hace 14 años |
August Mueller
|
7c2141e5b9
So, this is an attempt to make FMDatabase thread safe. Fun times!
|
hace 14 años |
August Mueller
|
a545f71d08
Fixed a problem under GC where leaked statments were keeping a database from closing. Patch from Chris Dolan.
|
hace 14 años |
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
|
hace 14 años |
August Mueller
|
c9c2637200
Changed some methods to properties. Hello 2011.
|
hace 14 años |
August Mueller
|
c69c9bae7c
Examples from davedelong
|
hace 14 años |
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.
|
hace 14 años |
Dave DeLong
|
c8ff945f52
Added methods to execute a query or update with an NSString-style format string
|
hace 14 años |
Dave DeLong
|
ae8622d5b0
Closing a database now closes all open resultsets
|
hace 15 años |
Dave DeLong
|
99112febca
invoke [super finalize]
|
hace 15 años |
Dave DeLong
|
f457ee94c8
Added -finalize methods for GC compatibility
|
hace 15 años |
August Mueller
|
11932c0f7e
um.... i hate git?
|
hace 15 años |