- Add explicit exclusive transaction code
- Add warning to beginTransaction and inTransaction calls that while it's currently exclusive, we reserve the right to change this in the future
- Add a few tests while I was here
- Audited for nullability;
- Updated `makeFunctionNamed` and added associated utility `value` and `result` methods;
- Added URL methods;
- As adding tests for new methods, expanded test coverage a bit (now over 80% coverage);
- Updated VFS tests to make sure they unregister;
for the warning in line 237 of FMDatabase.m:
int requestedSleepInMillseconds = arc4random_uniform(50) + 50;
int actualSleepInMilliseconds =
sqlite3_sleep(requestedSleepInMillseconds);
if (actualSleepInMilliseconds != requestedSleepInMillseconds) {
NSLog(@"WARNING: Requested sleep of %i milliseconds, but
SQLite returned %i. Maybe SQLite wasn't built with HAVE_USLEEP=1?",
requestedSleepInMillseconds, actualSleepInMilliseconds);
}
return 1;
The unicode61 tokenizer is now enabled by default and the corresponding build
option is no longer available. FMDB/standaone should depend on sqlite3/fts.
I also updated the comment to emphasize that the most recent stable version of
SQLite is built if the standalone subspec is selected, not a custom prebuilt
version.
Btw.: I am the sqlite3 podspec maintainer and am trying to keep the sqlite3 pod
as close to the official stable release schedule as possible: Delay < a few days
Signed-off-by: Clemens Gruber <[email protected]>