8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 10:43:03 +01:00

-Remove GDS_VAL and GDS_REF

-BOOLEAN Cleaning
-Fix tab indent in restore and backup
This commit is contained in:
brodsom 2003-09-12 23:25:16 +00:00
parent 1884cba12f
commit ba7b5fdcf9
4 changed files with 6258 additions and 6271 deletions

File diff suppressed because it is too large Load Diff

View File

@ -546,7 +546,7 @@ int BURP_gbak(int argc,
tdgbl->gbl_sw_ignore_limbo = FALSE; tdgbl->gbl_sw_ignore_limbo = FALSE;
tdgbl->gbl_sw_blk_factor = 0; tdgbl->gbl_sw_blk_factor = 0;
tdgbl->gbl_sw_no_reserve = FALSE; tdgbl->gbl_sw_no_reserve = FALSE;
tdgbl->gbl_sw_mode = FALSE; tdgbl->gbl_sw_mode = false;
tdgbl->gbl_sw_skip_count = 0; tdgbl->gbl_sw_skip_count = 0;
tdgbl->action = NULL; tdgbl->action = NULL;
@ -639,12 +639,12 @@ int BURP_gbak(int argc,
BURP_error(279, 0, 0, 0, 0, 0); // msg 279: "read_only" or "read_write" required BURP_error(279, 0, 0, 0, 0, 0); // msg 279: "read_only" or "read_write" required
string = *argv++; string = *argv++;
if (!strcmp(string, BURP_SW_MODE_RO)) if (!strcmp(string, BURP_SW_MODE_RO))
tdgbl->gbl_sw_mode_val = TRUE; tdgbl->gbl_sw_mode_val = true;
else if (!strcmp(string, BURP_SW_MODE_RW)) else if (!strcmp(string, BURP_SW_MODE_RW))
tdgbl->gbl_sw_mode_val = FALSE; tdgbl->gbl_sw_mode_val = false;
else else
BURP_error(279, 0, 0, 0, 0, 0); // msg 279: "read_only" or "read_write" required BURP_error(279, 0, 0, 0, 0, 0); // msg 279: "read_only" or "read_write" required
tdgbl->gbl_sw_mode = TRUE; tdgbl->gbl_sw_mode = true;
} }
else if (in_sw_tab->in_sw == IN_SW_BURP_PASS) { else if (in_sw_tab->in_sw == IN_SW_BURP_PASS) {
if (argv >= end) if (argv >= end)
@ -815,7 +815,7 @@ int BURP_gbak(int argc,
break; break;
case (IN_SW_BURP_MODE): case (IN_SW_BURP_MODE):
tdgbl->gbl_sw_mode = TRUE; tdgbl->gbl_sw_mode = true;
break; break;
case (IN_SW_BURP_N): case (IN_SW_BURP_N):

View File

@ -721,8 +721,8 @@ typedef struct tgbl
USHORT gbl_sw_service_gbak; USHORT gbl_sw_service_gbak;
USHORT gbl_sw_service_thd; USHORT gbl_sw_service_thd;
USHORT gbl_sw_convert_ext_tables; USHORT gbl_sw_convert_ext_tables;
BOOLEAN gbl_sw_mode; bool gbl_sw_mode;
BOOLEAN gbl_sw_mode_val; bool gbl_sw_mode_val;
SCHAR *gbl_sw_sql_role; SCHAR *gbl_sw_sql_role;
SCHAR *gbl_sw_user; SCHAR *gbl_sw_user;
SCHAR *gbl_sw_password; SCHAR *gbl_sw_password;

File diff suppressed because it is too large Load Diff