MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / ERRD_assert_msg

Function ERRD_assert_msg

src/dsql/errd.cpp:76–85  ·  view source on GitHub ↗

ERRD_assert_msg @brief Generate an assertion failure with a message @param msg @param file @param lineno **/

Source from the content-addressed store, hash-verified

74
75 **/
76void ERRD_assert_msg(const char* msg, const char* file, ULONG lineno)
77{
78
79 char buffer[MAXPATHLEN + 100];
80
81 fb_utils::snprintf(buffer, sizeof(buffer),
82 "Assertion failure: %s File: %s Line: %ld\n", //dev build
83 (msg ? msg : ""), (file ? file : ""), lineno);
84 ERRD_bugcheck(buffer);
85}
86#endif // DEV_BUILD
87
88

Callers

nothing calls this directly

Calls 2

ERRD_bugcheckFunction · 0.85
snprintfFunction · 0.50

Tested by

no test coverage detected