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

Konstantin Osipov kostja.osipov at gmail.com
Wed Dec 4 14:36:34 MSK 2019


* Nikita Pettik <korablev at tarantool.org> [19/11/21 10:00]:
> - Removed saveSqlFlag as argument from sqlPrepare(). It was used to
>   indicate that its caller is sql_prepare_v2() not sql_prepare().
>   Since in previous commit we've left only one version of this function
>   let's remove this flag at all.
> 
> - Removed struct db from list of sql_prepare() arguments. There's one
>   global database handler and it can be obtained by sql_get() call.
>   Hence, it makes no sense to pass around this argument.

lgtm


-- 
Konstantin Osipov, Moscow, Russia


More information about the Tarantool-patches mailing list