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

Method printf

src/jrd/MetaName.cpp:79–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77}
78
79void MetaName::printf(const char* format, ...)
80{
81 char data[MAX_SQL_IDENTIFIER_LEN + 1];
82 va_list params;
83 va_start(params, format);
84 int len = VSNPRINTF(data, MAX_SQL_IDENTIFIER_LEN, format, params);
85 va_end(params);
86
87 if (len < 0 || FB_SIZE_T(len) > MAX_SQL_IDENTIFIER_LEN)
88 {
89 len = MAX_SQL_IDENTIFIER_LEN;
90 }
91 data[len] = 0;
92 word = get(data, len);
93}
94
95FB_SIZE_T MetaName::copyTo(char* to, FB_SIZE_T toSize) const
96{

Callers

nothing calls this directly

Calls 1

getFunction · 0.50

Tested by

no test coverage detected