Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
314
static inline size_t safe_strlen(const char *str)
315
{ return str ? strlen(str) : 0; }
316
317
#endif
Callers
12
safe_strlen_uint
Function · 0.85
Item_int
Method · 0.85
Item_float
Method · 0.85
net_send_ok
Method · 0.85
show_slave_hosts_callback
Function · 0.85
Item_decimal
Method · 0.85
acl_load
Function · 0.85
GRANT_TABLE
Method · 0.85
parse_client_handshake_packet
Function · 0.85
search_default_file_with_ext
Function · 0.85
process_default_file_with_ext
Function · 0.85
check_embedded_connection
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected