Skip to content

Commit

Permalink
Task CORE-1618 - Change GBAK option to not run database triggers to u…
Browse files Browse the repository at this point in the history
…se the same name as the ISQL equivalent option
  • Loading branch information
asfernandes committed Nov 26, 2007
1 parent 4dd14a3 commit 40997f0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
7 changes: 4 additions & 3 deletions doc/sql.extensions/README.db_triggers.txt
Expand Up @@ -28,10 +28,11 @@ Syntax rules:
1) Database triggers type can't be changed.

Utilities support:
A new parameter was added to GBAK and ISQL to not run database triggers.
This parameter could only be used by database owner and SYSDBA:
GBAK -no_dbtriggers
New parameters was added to GBAK, ISQL and NBACKUP to not run database triggers.
These parameters could only be used by database owner and SYSDBA:
GBAK -nodbtriggers
ISQL -nodbtriggers
NBACKUP -T

Permissions:
Only database owner and SYSDBA can do database triggers DDL.
Expand Down
4 changes: 2 additions & 2 deletions src/burp/burpswi.h
Expand Up @@ -127,8 +127,8 @@ static in_sw_tab_t burp_in_sw_table [] =
// msg 278: %sMODE read_only or read_write access
{IN_SW_BURP_N, isc_spb_res_no_validity, "NO_VALIDITY", 0, 0, 0, FALSE, 187, 0, NULL},
// msg 187: %sN(O_VALIDITY) do not restore database validity conditions
{IN_SW_BURP_NOD, 0, "NO_DBTRIGGERS", 0, 0, 0, FALSE, 294, 0, NULL},
// msg 294: %sNO_D(BTRIGGERS) do not run database triggers
{IN_SW_BURP_NOD, 0, "NODBTRIGGERS", 0, 0, 0, FALSE, 294, 0, NULL},
// msg 294: %sNOD(BTRIGGERS) do not run database triggers
{IN_SW_BURP_NT, isc_spb_bkp_non_transportable, "NT", 0, 0, 0, FALSE, 239, 0, NULL},
// msg 239: %sNT Non-Transportable backup file format
{IN_SW_BURP_O, isc_spb_res_one_at_a_time, "ONE_AT_A_TIME", 0, 0, 0, FALSE, 99, 0, NULL},
Expand Down
2 changes: 1 addition & 1 deletion src/msgs/messages2.sql
Expand Up @@ -2334,7 +2334,7 @@ ERROR: Backup incomplete', NULL, NULL);
(NULL, 'get_procedure_prm', 'restore.epp', NULL, 12, 291, NULL, 'procedure parameter', NULL, NULL);
(NULL, 'get_ref_constraint', 'restore.epp', NULL, 12, 292, NULL, 'referential constraint', NULL, NULL);
(NULL, 'get_type', 'restore.epp', NULL, 12, 293, NULL, 'type (in RDB$TYPES)', NULL, NULL);
(NULL, '', 'burp.cpp', NULL, 12, 294, NULL, ' @1NO_D(BTRIGGERS) do not run database triggers', NULL, NULL);
(NULL, '', 'burp.cpp', NULL, 12, 294, NULL, ' @1NOD(BTRIGGERS) do not run database triggers', NULL, NULL);
-- Do not change the arguments of the previous GBAK messages.
-- Write the new GBAK messages here.
(NULL, '', 'burp.cpp', NULL, 12, 295, NULL, ' @1TRU(STED) use trusted authentication', NULL, NULL);
Expand Down

0 comments on commit 40997f0

Please sign in to comment.