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

Method BindParameters

storage/connect/tabodbc.cpp:394–407  ·  view source on GitHub ↗

/ ODBC Bind Parameter function. */ /

Source from the content-addressed store, hash-verified

392/* ODBC Bind Parameter function. */
393/***********************************************************************/
394bool TDBODBC::BindParameters(PGLOBAL g)
395{
396 PODBCCOL colp;
397
398 for (colp = (PODBCCOL)Columns; colp; colp = (PODBCCOL)colp->Next) {
399 colp->AllocateBuffers(g, 0);
400
401 if (Ocp->BindParam(colp))
402 return true;
403
404 } // endfor colp
405
406 return false;
407} // end of BindParameters
408
409#if 0
410/***********************************************************************/

Callers

nothing calls this directly

Calls 1

AllocateBuffersMethod · 0.80

Tested by

no test coverage detected