MCPcopy Create free account
hub / github.com/RedisGraph/RedisGraph / OpBase_ToString

Function OpBase_ToString

src/execution_plan/ops/op.c:207–218  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

205}
206
207void OpBase_ToString
208(
209 const OpBase *op,
210 sds *buff
211) {
212 int bytes_written = 0;
213
214 if(op->toString) op->toString(op, buff);
215 else *buff = sdscatprintf(*buff, "%s", op->name);
216
217 if(op->stats) _OpBase_StatsToString(op, buff);
218}
219
220Record OpBase_Profile
221(

Callers 1

_ExecutionPlan_PrintFunction · 0.85

Calls 2

sdscatprintfFunction · 0.85
_OpBase_StatsToStringFunction · 0.85

Tested by

no test coverage detected