* 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);