[tarantool-patches] Re: [PATCH 2/2] sql: allow to specify engine in CREATE TABLE stmt

Konstantin Osipov kostja at tarantool.org
Tue Aug 20 14:59:05 MSK 2019


* Nikita Pettik <korablev at tarantool.org> [19/08/19 17:54]:
> @TarantoolBot document
> Title: Introduce <WITH ENGINE> clause for CREATE TABLE statement
> 
> To allow user to specify engine as per table option, CREATE TABLE
> statement has been extended with optional <WITH ENGINE = engine_name>
> clause. This clause comes at the end of CREATE TABLE statement.
> For instance:
> 
> CREATE TABLE t_vinyl (id INT PRIMARY KEY) WITH ENGINE = 'vinyl';
> 
> Name of engine is considered to be string literal ergo should be
> enclosed in single quotation marks and be lower-cased. Note that engine
> specified in WITH ENGINE clause overwrites default engine, which is set
> via 'pragma sql_default_engine'.

the wording should not contain word 'with'. 

-- 
Konstantin Osipov, Moscow, Russia




More information about the Tarantool-patches mailing list