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

Method AllocBuf

storage/connect/tabsys.cpp:391–396  ·  view source on GitHub ↗

/ Allocate a buffer of the proper size. */ /

Source from the content-addressed store, hash-verified

389/* Allocate a buffer of the proper size. */
390/***********************************************************************/
391void INICOL::AllocBuf(PGLOBAL g)
392 {
393 if (!Valbuf)
394 Valbuf = (char*)PlugSubAlloc(g, NULL, Long + 1);
395
396 } // end of AllocBuf
397
398/***********************************************************************/
399/* SetBuffer: prepare a column block for write operation. */

Callers 2

OpenDBMethod · 0.80
tabxml.cppFile · 0.80

Calls 1

PlugSubAllocFunction · 0.85

Tested by

no test coverage detected