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

Function check_filename

src/gpre/sql.cpp:5164–5176  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5162//
5163
5164static bool check_filename(const TEXT* name)
5165{
5166 const USHORT l = static_cast<USHORT>(strlen(name));
5167 if (!l)
5168 return true;
5169
5170 for (const TEXT* p = name; *p; p++)
5171 {
5172 if (p[0] == ':' && p[1] == ':')
5173 return false;
5174 }
5175 return true;
5176}
5177
5178
5179//____________________________________________________________

Callers 3

act_create_tableFunction · 0.85
define_fileFunction · 0.85
define_log_fileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected