MCPcopy Create free account
hub / github.com/bloomberg/comdb2 / cson_value_get_string

Function cson_value_get_string

cson/cson.c:631–634  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

629 return v->sql_type == SQLITE_TEXT;
630}
631cson_string *cson_value_get_string(cson_value const *val)
632{
633 return (char *)val->value_text;
634}
635char *cson_value_get_cstr(cson_value *val)
636{
637 if (!cson_value_is_string(val))

Callers 12

dump_paramFunction · 0.85
dump_sql_eventFunction · 0.85
bdb_set_table_parameterFunction · 0.85
test_iFunction · 0.85
test_jFunction · 0.85
cson_value_get_cstrFunction · 0.85
cson_value_fetch_stringFunction · 0.85
_cson_extract_strFunction · 0.85
_cson_extract_intFunction · 0.85
_create_all_viewsFunction · 0.85

Calls

no outgoing calls

Tested by 2

test_iFunction · 0.68
test_jFunction · 0.68