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

Function Stringified

storage/connect/json.cpp:117–133  ·  view source on GitHub ↗

/ Stringified: check that this column is in the stringified list. */ /

Source from the content-addressed store, hash-verified

115/* Stringified: check that this column is in the stringified list. */
116/***********************************************************************/
117bool Stringified(PCSZ strfy, char *colname)
118{
119 if (strfy) {
120 char *p, colist[512];
121 int n;
122
123 strncpy(colist, strfy, sizeof(colist) - 1);
124 n = PrepareColist(colist);
125
126 for (p = colist; n && p; p += (strlen(p) + 1), n--)
127 if (!stricmp(p, colname))
128 return true;
129
130 } // endif strfy
131
132 return false;
133} // end of Stringified
134
135#if 0
136/***********************************************************************/

Callers 4

JMGCOLMethod · 0.85
MGOCOLMethod · 0.85
FindMethod · 0.85
FindMethod · 0.85

Calls 1

PrepareColistFunction · 0.85

Tested by

no test coverage detected