> if (stmt_is_void) { > ups_cnt--; > mp_next(&ups_ops); > + stmt = vy_stmt_new_replace(tuple_format(upsert), result_mp, > + result_mp_end); Why can't you just use `upsert` tuple itself instead of created tuple by its format and data?