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

Function jsoncontains

storage/connect/jsonudf.cpp:4172–4181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4170} // end of jsoncontains_init
4171
4172long long jsoncontains(UDF_INIT *initid, UDF_ARGS *args, uchar *, uchar *error)
4173{
4174 unsigned char isn;
4175 char res[256];
4176 unsigned long reslen;
4177
4178 isn = 0;
4179 jsonlocate(initid, args, res, &reslen, &isn, error);
4180 return (isn) ? 0LL : 1LL;
4181} // end of jsoncontains
4182
4183void jsoncontains_deinit(UDF_INIT* initid)
4184{

Callers

nothing calls this directly

Calls 1

jsonlocateFunction · 0.85

Tested by

no test coverage detected