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

Function store_string_or_null

sql/slave.cc:2882–2888  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2880
2881
2882inline void store_string_or_null(Field **field, const char *str)
2883{
2884 if (str)
2885 (*field)->store(str, strlen(str), &my_charset_bin);
2886 else
2887 (*field)->set_null();
2888}
2889
2890inline void store_string(Field **field, const char *str)
2891{

Callers 1

store_master_infoFunction · 0.85

Calls 2

storeMethod · 0.45
set_nullMethod · 0.45

Tested by

no test coverage detected