[tarantool-patches] Re: [PATCH v2 1/4] sql: get rid off sqlite3NestedParse in clean stats

n.pettik korablev at tarantool.org
Wed Jul 11 15:19:34 MSK 2018


> * Generate code that will do an analysis of a single table in
> * a database.
> *
> * @param parse Parser context.
> * @param table Target table to analyze.
> */
> static void
> vdbe_emit_analyze_table(struct Parse *parse, struct Table *table)
> {
> 	assert(table != NULL);
> 	sql_set_multi_write(parse, false);
> 	int stat_cursor = parse->nTab;
> 	parse->nTab += 3;
> 	vdbe_emit_stat_space_open(parse, stat_cursor, NULL, table->def->name);

Look, vdbe_emit_stat_space_open() still always takes NULL as index_name.
Lets remove it. 






More information about the Tarantool-patches mailing list