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

Method begin_dataset

sql/sql_prepare.cc:6087–6097  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6085
6086
6087bool Protocol_local::begin_dataset()
6088{
6089 MYSQL_DATA *data= alloc_new_dataset();
6090 if (!data)
6091 return 1;
6092 alloc= &data->alloc;
6093 /* Assume rowlength < 8192 */
6094 init_alloc_root(PSI_INSTRUMENT_ME, alloc, 8192, 0, MYF(0));
6095 alloc->min_malloc= sizeof(MYSQL_ROWS);
6096 return 0;
6097}
6098
6099
6100bool Protocol_local::begin_dataset(THD *thd, uint numfields)

Callers 2

fetchMethod · 0.45
begin_datasetMethod · 0.45

Calls 3

init_alloc_rootFunction · 0.85
begin_datasetFunction · 0.85
alloc_rootFunction · 0.85

Tested by

no test coverage detected