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

Function remove_name

src/yvalve/user_dsql.cpp:1270–1295  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1268
1269
1270static void remove_name(dsql_name* name, dsql_name** list_ptr)
1271{
1272/**************************************
1273 *
1274 * r e m o v e _ n a m e
1275 *
1276 **************************************
1277 *
1278 * Functional description
1279 * Remove a name from the designated list.
1280 *
1281 **************************************/
1282
1283 if (name->name_next) {
1284 name->name_next->name_prev = name->name_prev;
1285 }
1286
1287 if (name->name_prev) {
1288 name->name_prev->name_next = name->name_next;
1289 }
1290 else {
1291 *list_ptr = name->name_next;
1292 }
1293
1294 gds__free(name);
1295}
1296
1297
1298// CVC: It seems I've read at least three versions of this routine.

Callers 3

cleanup_databaseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected