MCPcopy Create free account
hub / github.com/apache/cloudberry / SetLastError

Function SetLastError

contrib/udp2/ic_common/ic_utility.cpp:1361–1367  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1359}
1360
1361void
1362SetLastError(ErrorLevel level, const char *msg)
1363{
1364 ic_error.level = level;
1365 strncpy(ic_error.msg, msg, sizeof(ic_error.msg) - 1);
1366 ic_error.msg[sizeof(ic_error.msg) - 1] = 0;
1367}
1368
1369#ifdef __cplusplus
1370} // extern "C"

Callers 5

handleExceptionFunction · 0.85
dsm_impl_windowsFunction · 0.85
PGSharedMemoryCreateFunction · 0.85
ecpg_gettextFunction · 0.85
libpq_binddomainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected