From: Serge Petrenko <sergepetrenko@tarantool.org>
To: tarantool-patches@dev.tarantool.org
Subject: [Tarantool-patches] [PATCH] journal: fix typo in journal_no_write_async()
Date: Fri, 19 Jun 2020 21:09:14 +0300 [thread overview]
Message-ID: <20200619180914.9771-1-sergepetrenko@tarantool.org> (raw)
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)
next reply other threads:[~2020-06-19 18:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-19 18:09 Serge Petrenko [this message]
2020-06-19 18:19 ` Cyrill Gorcunov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200619180914.9771-1-sergepetrenko@tarantool.org \
--to=sergepetrenko@tarantool.org \
--cc=tarantool-patches@dev.tarantool.org \
--subject='Re: [Tarantool-patches] [PATCH] journal: fix typo in journal_no_write_async()' \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox