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

Function RMC_action

src/gpre/languages/rmc.cpp:291–542  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

289//
290
291void RMC_action(const act* action, int /*column*/)
292{
293
294 if (action->act_flags & ACT_break)
295 global_first_flag = false;
296
297 switch (action->act_type)
298 {
299 case ACT_alter_database:
300 case ACT_alter_domain:
301 case ACT_alter_table:
302 case ACT_alter_index:
303 case ACT_create_domain:
304 case ACT_create_generator:
305 case ACT_create_index:
306 case ACT_create_shadow:
307 case ACT_create_table:
308 case ACT_create_view:
309 case ACT_declare_filter:
310 case ACT_declare_udf:
311 case ACT_statistics:
312 case ACT_drop_domain:
313 case ACT_drop_filter:
314 case ACT_drop_index:
315 case ACT_drop_shadow:
316 case ACT_drop_table:
317 case ACT_drop_udf:
318 case ACT_drop_view:
319 gen_ddl(action);
320 break;
321 case ACT_any:
322 gen_any(action);
323 return;
324 case ACT_at_end:
325 gen_at_end(action);
326 return;
327 case ACT_commit:
328 gen_trans(action);
329 break;
330 case ACT_commit_retain_context:
331 gen_trans(action);
332 break;
333 case ACT_basedon:
334 gen_based(action);
335 return;
336 case ACT_b_declare:
337 gen_database(action);
338 return;
339 case ACT_blob_cancel:
340 gen_blob_close(action);
341 return;
342 case ACT_blob_close:
343 gen_blob_close(action);
344 break;
345 case ACT_blob_create:
346 gen_blob_open(action);
347 break;
348 case ACT_blob_for:

Callers

nothing calls this directly

Calls 15

RMC_print_bufferFunction · 0.85
gen_ddlFunction · 0.70
gen_anyFunction · 0.70
gen_at_endFunction · 0.70
gen_transFunction · 0.70
gen_basedFunction · 0.70
gen_databaseFunction · 0.70
gen_blob_closeFunction · 0.70
gen_blob_openFunction · 0.70
gen_blob_forFunction · 0.70
gen_segmentFunction · 0.70
gen_clear_handlesFunction · 0.70

Tested by

no test coverage detected