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

Method MptrVal

storage/connect/json.cpp:2058–2065  ·  view source on GitHub ↗

/ Replace string offsets by a pointer. */ /

Source from the content-addressed store, hash-verified

2056/* Replace string offsets by a pointer. */
2057/***********************************************************************/
2058PVL SWAP::MptrVal(PVL ovl) {
2059 PVL vlp = (PVL)MakePtr(Base, (size_t)ovl);
2060
2061 if (vlp->Type == TYPE_STRG)
2062 vlp->Strp = (PSZ)MakePtr(Base, (size_t)vlp->Strp);
2063
2064 return vlp;
2065} // end of MptrValue
2066#endif // 0

Callers

nothing calls this directly

Calls 1

MakePtrFunction · 0.85

Tested by

no test coverage detected