MCPcopy Create free account
hub / github.com/Shannon-Data/ShannonBase / WRITE_VAL

Function WRITE_VAL

plugin/test_service_sql_api/test_sql_errors.cc:73–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

71
72template <typename T>
73void WRITE_VAL(const char *format, T value) {
74 char buffer[STRING_BUFFER_SIZE];
75 snprintf(buffer, sizeof(buffer), format, value);
76 my_write(outfile, (uchar *)buffer, strlen(buffer), MYF(0));
77}
78
79template <typename T1, typename T2>
80void WRITE_VAL(const char *format, T1 value1, T2 value2) {

Callers 15

get_data_strFunction · 0.70
handle_errorFunction · 0.70
exec_test_cmdFunction · 0.70
get_data_integerFunction · 0.70
handle_errorFunction · 0.70
exec_test_cmdFunction · 0.70
test_sqlFunction · 0.70
get_data_strFunction · 0.70
get_data_binFunction · 0.70
handle_errorFunction · 0.70
exec_test_cmdFunction · 0.70
sql_handle_errorFunction · 0.70

Calls 2

snprintfFunction · 0.85
my_writeFunction · 0.85

Tested by

no test coverage detected