ccgus/fmdb — Issue #36: [db executeUpdate:@"PRAGMA journal_mode=OFF"] crashes
Author: trasch
Created: 2011-10-11 13:50:50+00:00
State: open

When I use [db executeUpdate:@"PRAGMA journal_mode=OFF"]; the app crashes, in FMDatabase.m:

Assertion failed: (rc!=SQLITE_ROW), function -[FMDatabase executeUpdate:error:withArgumentsInArray:orVAList:], file /Users/trasch/Projects/route-me/MapView/Map/FMDB/FMDatabase.m, line 744.

Using executeQuery, it works:
[db executeQuery:@"PRAGMA journal_mode=OFF"];

(at least, it doesn't crash...)