[Tarantool-patches] [PATCH v2 02/16] sql: refactor sql_prepare() and sqlPrepare()

Vladislav Shpilevoy v.shpilevoy at tarantool.org
Wed Dec 4 01:51:13 MSK 2019


Thanks for the patch!

> diff --git a/src/box/sql/analyze.c b/src/box/sql/analyze.c
> index b9858c8d6..1eba1e206 100644
> --- a/src/box/sql/analyze.c
> +++ b/src/box/sql/analyze.c
> @@ -1343,7 +1343,7 @@ sample_compare(const void *a, const void *b, void *arg)
>   * @retval 0 on success, -1 otherwise.
>   */
>  static int
> -load_stat_from_space(struct sql *db, const char *sql_select_prepare,
> +load_stat_from_space(const char *sql_select_prepare,

Please, drop db from the comment too.


More information about the Tarantool-patches mailing list