From: Nikita Pettik <korablev@tarantool.org>
To: tarantool-patches@freelists.org
Cc: v.shpilevoy@tarantool.org, kostja@tarantool.org,
alexander.turenko@tarantool.org,
Nikita Pettik <korablev@tarantool.org>
Subject: [tarantool-patches] [PATCH 1/8] port: increase padding of struct port
Date: Tue, 27 Aug 2019 16:34:22 +0300 [thread overview]
Message-ID: <7e354aa295b6dbac92baa4ec5f4bc39f4f4d0053.1566907520.git.korablev@tarantool.org> (raw)
In-Reply-To: <cover.1566907519.git.korablev@tarantool.org>
In-Reply-To: <cover.1566907519.git.korablev@tarantool.org>
We are going to extend context of struct port_sql. One already inherits
struct port_tuple, which makes it size barely fits into 48 bytes of
padding of basic structure (struct port). Hence, let's increase padding
a bit to be able to add at least one more member to struct port_sql.
---
src/lib/core/port.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/lib/core/port.h b/src/lib/core/port.h
index 09a026df5..abe21aa53 100644
--- a/src/lib/core/port.h
+++ b/src/lib/core/port.h
@@ -113,7 +113,7 @@ struct port {
* Implementation dependent content. Needed to declare
* an abstract port instance on stack.
*/
- char pad[48];
+ char pad[52];
};
/** Is not inlined just to be exported. */
--
2.15.1
next prev parent reply other threads:[~2019-08-27 13:34 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-27 13:34 [tarantool-patches] [PATCH 0/8] rfc: introduce dry-run execution of SQL queries Nikita Pettik
2019-08-27 13:34 ` Nikita Pettik [this message]
2019-08-28 9:33 ` [tarantool-patches] Re: [PATCH 1/8] port: increase padding of struct port Konstantin Osipov
2019-08-29 20:46 ` Vladislav Shpilevoy
2019-08-27 13:34 ` [tarantool-patches] [PATCH 2/8] port: move struct port_sql to box/port.h Nikita Pettik
2019-08-28 9:33 ` [tarantool-patches] " Konstantin Osipov
2019-08-29 20:46 ` Vladislav Shpilevoy
2019-08-27 13:34 ` [tarantool-patches] [PATCH 3/8] sql: remove sql_prepare_v2() Nikita Pettik
2019-08-28 9:33 ` [tarantool-patches] " Konstantin Osipov
2019-08-29 20:46 ` Vladislav Shpilevoy
2019-08-27 13:34 ` [tarantool-patches] [PATCH 4/8] sql: refactor sql_prepare() and sqlPrepare() Nikita Pettik
2019-08-28 9:35 ` [tarantool-patches] " Konstantin Osipov
2019-08-29 20:46 ` Vladislav Shpilevoy
2019-08-27 13:34 ` [tarantool-patches] [PATCH 5/8] sql: move sql_prepare() declaration to box/execute.h Nikita Pettik
2019-08-28 9:35 ` [tarantool-patches] " Konstantin Osipov
2019-08-27 13:34 ` [tarantool-patches] [PATCH 6/8] refactoring: use sql_prepare() and sql_execute() in tx_process_sql() Nikita Pettik
2019-08-28 9:37 ` [tarantool-patches] " Konstantin Osipov
2019-08-29 20:46 ` Vladislav Shpilevoy
2019-08-27 13:34 ` [tarantool-patches] [PATCH 7/8] netbox: allow passing options to :execute() Nikita Pettik
2019-08-28 9:38 ` [tarantool-patches] " Konstantin Osipov
2019-08-29 20:46 ` Vladislav Shpilevoy
2019-08-27 13:34 ` [tarantool-patches] [PATCH 8/8] sql: introduce dry-run execution Nikita Pettik
2019-08-28 9:39 ` [tarantool-patches] " Konstantin Osipov
2019-08-29 20:46 ` Vladislav Shpilevoy
2019-08-28 9:31 ` [tarantool-patches] Re: [PATCH 0/8] rfc: introduce dry-run execution of SQL queries Konstantin Osipov
2019-08-29 20:46 ` Vladislav Shpilevoy
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=7e354aa295b6dbac92baa4ec5f4bc39f4f4d0053.1566907520.git.korablev@tarantool.org \
--to=korablev@tarantool.org \
--cc=alexander.turenko@tarantool.org \
--cc=kostja@tarantool.org \
--cc=tarantool-patches@freelists.org \
--cc=v.shpilevoy@tarantool.org \
--subject='Re: [tarantool-patches] [PATCH 1/8] port: increase padding of struct port' \
/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