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

Function WRITE_STR

plugin/test_service_sql_api/test_sql_errors.cc:66–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64static File outfile;
65
66static void WRITE_STR(const char *format) {
67 char buffer[STRING_BUFFER_SIZE];
68 snprintf(buffer, sizeof(buffer), "%s", format);
69 my_write(outfile, (uchar *)buffer, strlen(buffer), MYF(0));
70}
71
72template <typename T>
73void WRITE_VAL(const char *format, T value) {

Callers 15

get_data_strFunction · 0.70
test_isolation_levelsFunction · 0.70
test_lockingFunction · 0.70
get_data_integerFunction · 0.70
test_sqlFunction · 0.70
get_data_strFunction · 0.70
get_data_binFunction · 0.70
test_sqlFunction · 0.70

Calls 2

snprintfFunction · 0.85
my_writeFunction · 0.85

Tested by

no test coverage detected