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

Method SetNullable

storage/connect/valblk.cpp:176–184  ·  view source on GitHub ↗

/ Set Nullable and allocate the Null array. */ /

Source from the content-addressed store, hash-verified

174/* Set Nullable and allocate the Null array. */
175/***********************************************************************/
176void VALBLK::SetNullable(bool b)
177 {
178 if ((Nullable = b)) {
179 To_Nulls = (char*)PlugSubAlloc(Global, NULL, Nval);
180 memset(To_Nulls, 0, Nval);
181 } else
182 To_Nulls = NULL;
183
184 } // end of SetNullable
185
186/***********************************************************************/
187/* Buffer allocation routine. */

Callers 15

AllocateValueFunction · 0.45
JDBCColumnsFunction · 0.45
JDBCTablesFunction · 0.45
JDBCDriversFunction · 0.45
GetCatInfoMethod · 0.45
ODBCColumnsFunction · 0.45
ODBCDriversFunction · 0.45
ODBCDataSourcesFunction · 0.45
ODBCTablesFunction · 0.45
GetCatInfoMethod · 0.45
InitValueMethod · 0.45
GetResultMethod · 0.45

Calls 1

PlugSubAllocFunction · 0.85

Tested by

no test coverage detected