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

  • From: "n.pettik" <korablev@xxxxxxxxxxxxx>
  • To: tarantool-patches@xxxxxxxxxxxxx
  • Date: Wed, 11 Jul 2018 15:19:34 +0300


* 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. 



Other related posts: