Tarantool development patches archive
 help / color / mirror / Atom feed
From: Vladimir Davydov <vdavydov.dev@gmail.com>
To: tarantool-patches@freelists.org
Subject: [PATCH v2 2/3] txn: kill txn_last_stmt helper
Date: Tue, 30 Jul 2019 13:49:14 +0300	[thread overview]
Message-ID: <09e9572c62d0c2c4d6473d0f4125e007b9e4664a.1564483378.git.vdavydov.dev@gmail.com> (raw)
In-Reply-To: <cover.1564483378.git.vdavydov.dev@gmail.com>

It's not used anywhere anymore.
---
 src/box/txn.h | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/src/box/txn.h b/src/box/txn.h
index 0a5c5169..9a6c8d63 100644
--- a/src/box/txn.h
+++ b/src/box/txn.h
@@ -416,13 +416,6 @@ txn_current_stmt(struct txn *txn)
 	return stailq_entry(stmt, struct txn_stmt, next);
 }
 
-/** The last statement of the transaction. */
-static inline struct txn_stmt *
-txn_last_stmt(struct txn *txn)
-{
-	return stailq_last_entry(&txn->stmts, struct txn_stmt, next);
-}
-
 /**
  * FFI bindings: do not throw exceptions, do not accept extra
  * arguments
-- 
2.20.1

  parent reply	other threads:[~2019-07-30 10:49 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-30 10:49 [PATCH v2 0/3] Support savepoints in DDL transactions Vladimir Davydov
2019-07-30 10:49 ` [PATCH v2 1/3] txn: move stmt list/savepoint manipulation out of txn_stmt_new Vladimir Davydov
2019-07-30 12:10   ` [tarantool-patches] " Konstantin Osipov
2019-07-30 10:49 ` Vladimir Davydov [this message]
2019-07-30 12:11   ` [tarantool-patches] Re: [PATCH v2 2/3] txn: kill txn_last_stmt helper Konstantin Osipov
2019-07-30 10:49 ` [PATCH v2 3/3] txn: undo commit/rollback triggers when reverting to savepoint Vladimir Davydov
2019-07-30 12:13   ` [tarantool-patches] " Konstantin Osipov
2019-07-30 12:31 ` [PATCH v2 0/3] Support savepoints in DDL transactions Vladimir Davydov

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=09e9572c62d0c2c4d6473d0f4125e007b9e4664a.1564483378.git.vdavydov.dev@gmail.com \
    --to=vdavydov.dev@gmail.com \
    --cc=tarantool-patches@freelists.org \
    --subject='Re: [PATCH v2 2/3] txn: kill txn_last_stmt helper' \
    /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