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

Function name_length

src/yvalve/user_dsql.cpp:1248–1267  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1246
1247
1248static USHORT name_length(const TEXT* name)
1249{
1250/**************************************
1251 *
1252 * n a m e _ l e n g t h
1253 *
1254 **************************************
1255 *
1256 * Functional description
1257 * Compute length of user supplied name.
1258 *
1259 **************************************/
1260
1261 // CVC: Beware, another function that stops at the first blank!!!
1262 const TEXT* p = name;
1263 while (*p && *p != ' ')
1264 ++p;
1265
1266 return (USHORT) (p - name);
1267}
1268
1269
1270static void remove_name(dsql_name* name, dsql_name** list_ptr)

Callers 2

insert_nameFunction · 0.70
lookup_nameFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected