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

Function par_any

src/gpre/par.cpp:1292–1324  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1290//
1291
1292static act* par_any()
1293{
1294 // For time being flag as an error
1295
1296 PAR_error("Free standing any not supported");
1297 return NULL; // make the compiler happy.
1298
1299 /*
1300 gpre_sym* symbol = NULL;
1301
1302 // Make up request block. Since this might not be a database statement,
1303 // stay ready to back out if necessay.
1304
1305 gpre_req* request = MSC_request(REQ_any);
1306
1307 par_options(request, true);
1308 gpre_rse* rec_expr = EXP_rse(request, symbol);
1309 EXP_rse_cleanup(rec_expr);
1310 act* action = MSC_action(request, ACT_any);
1311
1312 request->req_rse = rec_expr;
1313 gpre_ctx* context = rec_expr->rse_context[0];
1314 gpre_rel* relation = context->ctx_relation;
1315 request->req_database = relation->rel_database;
1316
1317 act* function = MSC_action(0, ACT_function);
1318 function->act_object = (ref*) action;
1319 function->act_next = gpreGlob.global_functions;
1320 gpreGlob.global_functions = function;
1321
1322 return action;
1323 */
1324}
1325
1326
1327//____________________________________________________________

Callers 1

PAR_actionFunction · 0.85

Calls 1

PAR_errorFunction · 0.70

Tested by

no test coverage detected