From: Konstantin Osipov <kostja@tarantool.org>
To: tarantool-patches@freelists.org
Cc: korablev@tarantool.org
Subject: [tarantool-patches] Re: [PATCH v1 3/3] sql: remove unused functions from main.c
Date: Wed, 10 Apr 2019 10:31:47 +0300 [thread overview]
Message-ID: <20190410073147.GJ8268@chai> (raw)
In-Reply-To: <61b31e4086c3914a3b76683e531e1309a70cd291.1554830037.git.imeevma@gmail.com>
* imeevma@tarantool.org <imeevma@tarantool.org> [19/04/09 20:19]:
> -int
> -sql_shutdown(void)
This could be actually useful when debugging memory leaks, Nikita,
what's your take?
> -/*
> - * This API allows applications to modify the global configuration of
> - * the sql library at run-time.
> - *
> - * This routine should only be called when there are no outstanding
> - * database connections or memory allocations. This routine is not
> - * threadsafe. Failure to heed these warnings can lead to unpredictable
> - * behavior.
> - */
> -int
> -sql_config(int op, ...)
> -{
This is OK to remove.
> -/*
> - * Cause any pending operation to stop at its earliest opportunity.
> - */
> -void
> -sql_interrupt(sql * db)
> -{
> - db->u1.isInterrupted = 1;
> -}
This could also be useful.
The rest of the patch is looking good to me. Let's wait for
Nikita's review.
--
Konstantin Osipov, Moscow, Russia, +7 903 626 22 32
http://tarantool.io - www.twitter.com/kostja_osipov
next prev parent reply other threads:[~2019-04-10 7:31 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-04-09 17:17 [tarantool-patches] [PATCH v1 0/3] sql: remove unused code from SQL imeevma
2019-04-09 17:17 ` [tarantool-patches] [PATCH v1 1/3] sql: remove legacy.c imeevma
2019-04-10 7:26 ` [tarantool-patches] " Konstantin Osipov
2019-04-11 0:02 ` n.pettik
2019-04-09 17:17 ` [tarantool-patches] [PATCH v1 2/3] sql: remove unused macros in SQL imeevma
2019-04-10 7:28 ` [tarantool-patches] " Konstantin Osipov
2019-04-11 0:08 ` n.pettik
2019-04-11 16:56 ` Imeev Mergen
2019-04-12 13:08 ` Mergen Imeev
2019-04-22 15:39 ` n.pettik
2019-04-23 8:59 ` Kirill Yukhin
2019-04-09 17:17 ` [tarantool-patches] [PATCH v1 3/3] sql: remove unused functions from main.c imeevma
2019-04-10 7:31 ` Konstantin Osipov [this message]
2019-04-11 0:24 ` [tarantool-patches] " n.pettik
2019-04-11 6:36 ` Konstantin Osipov
2019-04-11 0:14 ` n.pettik
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=20190410073147.GJ8268@chai \
--to=kostja@tarantool.org \
--cc=korablev@tarantool.org \
--cc=tarantool-patches@freelists.org \
--subject='[tarantool-patches] Re: [PATCH v1 3/3] sql: remove unused functions from main.c' \
/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