[Tarantool-patches] [PATCH 14/15] box: introduce prepared statements

Konstantin Osipov kostja.osipov at gmail.com
Mon Nov 11 02:42:11 MSK 2019


* Nikita Pettik <korablev at tarantool.org> [19/11/07 04:33]:
> +int
> +sql_unprepare(uint32_t query_id)

this is called deallocate prepare in ansi sql, not unprepare
> +	/**
> +	 * In case of "prepare" request user receives id of query
> +	 * using which query can be executed later.
> +	 */
> +	uint32_t query_id;

Query is something that returns data. You can prepare any
statement. So it's statement id, not query id.


-- 
Konstantin Osipov, Moscow, Russia


More information about the Tarantool-patches mailing list