mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-24 04:07:47 +00:00
Fix wrong documentation about reentrancy.
This commit is contained in:
1 parent
0a24e1ba83
commit
9a2c1c1946
1 file changed
+3
-3
@@ -68,7 +68,7 @@ public final class DatabaseQueue {
|
||||
db.fetch(...)
|
||||
}
|
||||
|
||||
This method is reentrant.
|
||||
This method is *not* reentrant.
|
||||
|
||||
**Warning**: The *db* parameter of the block should not be used outside of
|
||||
the block. Do not extract it, and do not store it in another object that
|
||||
@@ -96,7 +96,7 @@ public final class DatabaseQueue {
|
||||
db.fetch(...)
|
||||
}
|
||||
|
||||
This method is reentrant.
|
||||
This method is *not* reentrant.
|
||||
|
||||
**Warning**: The *db* parameter of the block should not be used outside of
|
||||
the block. Do not extract it, and do not store it in another object that
|
||||
@@ -130,7 +130,7 @@ public final class DatabaseQueue {
|
||||
return .Commit
|
||||
}
|
||||
|
||||
This method is not reentrant: you can't nest transactions.
|
||||
This method is *not* reentrant.
|
||||
|
||||
**Warning**: The *db* parameter of the block should not be used outside of
|
||||
the transaction block. Do not extract it, and do not store it in another
|
||||
|
||||
Reference in new issue
Block a user