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

Function safe_strlen

include/m_string.h:314–315  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

312{ return str ? str : ""; }
313
314static inline size_t safe_strlen(const char *str)
315{ return str ? strlen(str) : 0; }
316
317#endif

Callers 12

safe_strlen_uintFunction · 0.85
Item_intMethod · 0.85
Item_floatMethod · 0.85
net_send_okMethod · 0.85
Item_decimalMethod · 0.85
acl_loadFunction · 0.85
GRANT_TABLEMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected