[Tarantool-patches] [PATCH] journal: fix typo in journal_no_write_async()

Serge Petrenko sergepetrenko at tarantool.org
Fri Jun 19 21:09:14 MSK 2020


Branch: gh-4842-sync-replication
---
 src/box/journal.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/box/journal.c b/src/box/journal.c
index c576dfcf6..d84f960d5 100644
--- a/src/box/journal.c
+++ b/src/box/journal.c
@@ -37,7 +37,7 @@ journal_no_write_async(struct journal *journal,
 		       struct journal_entry *entry)
 {
 	(void)journal;
-	assert(true);
+	assert(false);
 
 	errno = EINVAL;
 	diag_set(SystemError, "write_async wrong context");
@@ -49,7 +49,7 @@ journal_no_write_async(struct journal *journal,
 void
 journal_no_write_async_cb(struct journal_entry *entry)
 {
-	assert(true);
+	assert(false);
 
 	errno = EINVAL;
 	diag_set(SystemError, "write_async_cb wrong context");
-- 
2.24.3 (Apple Git-128)



More information about the Tarantool-patches mailing list