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

Function IsTypeChar

storage/connect/value.cpp:234–244  ·  view source on GitHub ↗

/ IsTypeChar: returns true for character type(s). */ /

Source from the content-addressed store, hash-verified

232/* IsTypeChar: returns true for character type(s). */
233/***********************************************************************/
234bool IsTypeChar(int type)
235{
236 switch (type) {
237 case TYPE_STRING:
238 case TYPE_DECIM:
239 case TYPE_BIN:
240 return true;
241 } // endswitch type
242
243 return false;
244} // end of IsTypeChar
245
246/***********************************************************************/
247/* IsTypeNum: returns true for numeric types. */

Callers 15

BINCOLMethod · 0.85
ReadColumnMethod · 0.85
WriteColumnMethod · 0.85
MakeBlockValuesMethod · 0.85
ConvertTypeFunction · 0.85
ConvertMethod · 0.85
EvalMethod · 0.85
odbconn.cppFile · 0.85
WriteColumnMethod · 0.85
GetCalcValueMethod · 0.85
SetArrayOptionsMethod · 0.85
InitBindMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected