From 9a2c1c1946c3b050217907898fd8aca21da3e5cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Sat, 12 Sep 2015 16:04:06 +0200 Subject: [PATCH] Fix wrong documentation about reentrancy. --- GRDB/Core/DatabaseQueue.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/GRDB/Core/DatabaseQueue.swift b/GRDB/Core/DatabaseQueue.swift index adfb56c42..26258e24e 100644 --- a/GRDB/Core/DatabaseQueue.swift +++ b/GRDB/Core/DatabaseQueue.swift @@ -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