MCPcopy Create free account
hub / github.com/MariaDB/server / Materialized_cursor

Method Materialized_cursor

sql/sql_cursor.cc:173–183  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

171****************************************************************************/
172
173Materialized_cursor::Materialized_cursor(select_result *result_arg,
174 TABLE *table_arg)
175 :Server_side_cursor(&table_arg->mem_root, result_arg),
176 table(table_arg),
177 fetch_limit(0),
178 fetch_count(0),
179 is_rnd_inited(0)
180{
181 fake_unit.init_query();
182 fake_unit.thd= table->in_use;
183}
184
185
186/**

Callers

nothing calls this directly

Calls 1

init_queryMethod · 0.80

Tested by

no test coverage detected