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

Function gen_drop_database

src/gpre/languages/ftn.cpp:1598–1609  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1596//
1597
1598static void gen_drop_database(const act* action)
1599{
1600 const gpre_dbb* db = (gpre_dbb*) action->act_object;
1601
1602 sprintf(output_buffer, "%s CALL ISC_DROP_DATABASE (%s, %s%" SIZEFORMAT"%s, %s\'%s\'%s, RDB_K_DB_TYPE_GDS)\n",
1603 COLUMN,
1604 status_vector(),
1605 I2_1, strlen(db->dbb_filename), I2_2,
1606 REF_1, db->dbb_filename, REF_2);
1607 FTN_print_buffer(output_buffer);
1608 status_and_stop(action);
1609}
1610
1611
1612//____________________________________________________________

Callers 1

FTN_actionFunction · 0.70

Calls 3

FTN_print_bufferFunction · 0.85
status_and_stopFunction · 0.85
status_vectorFunction · 0.70

Tested by

no test coverage detected