Skip to content

Commit

Permalink
Update comments for online documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
robertmryan committed Oct 24, 2017
1 parent cb92845 commit 1da3a20
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 15 deletions.
8 changes: 3 additions & 5 deletions src/fmdb/FMDatabase.h
Original file line number Diff line number Diff line change
Expand Up @@ -690,11 +690,9 @@ typedef NS_ENUM(int, FMDBCheckpointMode) {
an exclusive transaction, not a deferred transaction. This behavior
is likely to change in future versions of FMDB, whereby this method
will likely eventually adopt standard SQLite behavior and perform
deferred transactions.
If you really need exclusive tranaction, it is recommended that you
use `beginExclusiveTransaction`, instead, not only to make your intent
explicit, but also to future-proof your code.
deferred transactions. If you really need exclusive tranaction, it is
recommended that you use `beginExclusiveTransaction`, instead, not
only to make your intent explicit, but also to future-proof your code.
*/

Expand Down
8 changes: 3 additions & 5 deletions src/fmdb/FMDatabasePool.h
Original file line number Diff line number Diff line change
Expand Up @@ -206,11 +206,9 @@ NS_ASSUME_NONNULL_BEGIN
an exclusive transaction, not a deferred transaction. This behavior
is likely to change in future versions of FMDB, whereby this method
will likely eventually adopt standard SQLite behavior and perform
deferred transactions.
If you really need exclusive tranaction, it is recommended that you
use `inExclusiveTransaction`, instead, not only to make your intent
explicit, but also to future-proof your code.
deferred transactions. If you really need exclusive tranaction, it is
recommended that you use `inExclusiveTransaction`, instead, not only
to make your intent explicit, but also to future-proof your code.
*/

- (void)inTransaction:(__attribute__((noescape)) void (^)(FMDatabase *db, BOOL *rollback))block;
Expand Down
8 changes: 3 additions & 5 deletions src/fmdb/FMDatabaseQueue.h
Original file line number Diff line number Diff line change
Expand Up @@ -210,11 +210,9 @@ NS_ASSUME_NONNULL_BEGIN
an exclusive transaction, not a deferred transaction. This behavior
is likely to change in future versions of FMDB, whereby this method
will likely eventually adopt standard SQLite behavior and perform
deferred transactions.
If you really need exclusive tranaction, it is recommended that you
use `inExclusiveTransaction`, instead, not only to make your intent
explicit, but also to future-proof your code.
deferred transactions. If you really need exclusive tranaction, it is
recommended that you use `inExclusiveTransaction`, instead, not only
to make your intent explicit, but also to future-proof your code.
*/

Expand Down

0 comments on commit 1da3a20

Please sign in to comment.