MCPcopy Create free account
hub / github.com/Meituan-Dianping/SQLAdvisor / sql_perror

Function sql_perror

sql/log.cc:1344–1351  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1342
1343
1344void sql_perror(const char *message)
1345{
1346#ifdef HAVE_STRERROR
1347 sql_print_error("%s: %s",message, strerror(errno));
1348#else
1349 perror(message);
1350#endif
1351}
1352
1353
1354#ifdef _WIN32

Callers 1

set_rootFunction · 0.85

Calls 2

sql_print_errorFunction · 0.85
perrorFunction · 0.85

Tested by

no test coverage detected