8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-27 06:03:02 +01:00
Commit Graph

415 Commits

Author SHA1 Message Date
robocop
e9be920cc0 Shut up some compiler warnings (some warnings should be enabled again in autoconfig_msvc.h IMHO because hiding our possible mistakes won't help us). 2008-12-30 10:52:52 +00:00
asfernandes
582d837778 Remove trailing spaces from epp files - I had forgot them 2008-12-20 23:50:22 +00:00
hvlad
7c026e2a64 Restore ability to specify few starting chars (i.e. not full word) of optional switch OVERWRITE in gbak (it was accidentally brocken before 2.5 alpha1) 2008-12-19 12:43:30 +00:00
alexpeshkoff
eda7114225 Fixed CORE-2223: Multiple bugs in gbak when working with ACLs 2008-12-05 15:06:21 +00:00
asfernandes
8fbf0e8e8c Remove trailing spaces (.cpp files) 2008-12-05 01:20:14 +00:00
asfernandes
ff5f8745fb Remove trailing spaces (.h files) 2008-12-05 00:56:15 +00:00
robocop
9f52942ab0 Style. 2008-12-02 07:09:49 +00:00
robocop
eb6ea18df4 Misc. 2008-12-01 09:21:31 +00:00
asfernandes
a5ff7ca091 Misc 2008-12-01 01:26:27 +00:00
alexpeshkoff
9431183e42 Implemented CORE-1667: Reading password from file/stdin 2008-11-30 17:11:56 +00:00
asfernandes
a2fbf5a3f1 Fixed CORE-2214 - Incorrect restore of security classes 2008-11-28 14:20:05 +00:00
asfernandes
5ab801f09d Misc 2008-11-26 00:45:20 +00:00
alexpeshkoff
000f7b3d3e added support to enter password from terminal 2008-11-25 14:27:12 +00:00
alexpeshkoff
17ae73b5d7 This is the first attempt to fix CORE-1667 (Reading password from file/stdin).
Please take a look at it and comment, before adding support to other utilities.
Main problems seen:
- Name of a switch (now -@PASSWORD, may be -PASSFILE is better?)
- How to provide support for stdin?
2008-11-24 17:22:44 +00:00
alexpeshkoff
e1210d2e9e fixed missing return value from bool function 2008-11-24 17:05:22 +00:00
alexpeshkoff
9ca7135efa fixed gcc warning 2008-11-24 17:04:29 +00:00
alexpeshkoff
ff40a4e199 Implemented CORE-2197: added support for -nodbtriggers switch in gbak into services API 2008-11-17 16:29:14 +00:00
alexpeshkoff
d8ea120ded AIX port - use FB_ prefix for alignment constants 2008-11-05 11:26:23 +00:00
alexpeshkoff
a3c947ea76 Renamed Service's methods according to Claudio's request to reflect data movement direction 2008-09-11 11:51:25 +00:00
alexpeshkoff
de1cc4f41a Fixed broken by me this week use of status vector in services - thanks to D.Kovalenko 2008-09-05 11:41:00 +00:00
asfernandes
077f8360a0 Misc 2008-07-31 00:45:43 +00:00
hvlad
0991d326c7 It is good idea to set NULL flag for nullable fields if backup have no value for its ;) 2008-07-25 08:43:09 +00:00
robocop
b8ea332022 Misc. 2008-06-05 11:02:42 +00:00
robocop
07c087094d Mostly remove useless parentheses. 2008-06-03 06:14:59 +00:00
asfernandes
84603f1169 Misc 2008-05-25 01:39:16 +00:00
robocop
a84cc0ec05 Cleanup. 2008-05-23 13:27:47 +00:00
robocop
73994d24c8 CORE-1911: Make the inline gbak help print its options again. 2008-05-23 13:19:20 +00:00
robocop
6a439b2866 Solved CORE-1911 in a simple albeit not very clever way.
svc.cpp only needs to read the gbak switches table, but burp.cpp needs to toggle the in_sw_state field, hence I made the global instance a constant and copied it to a local array inside burp.cpp's "gbak" function.
2008-05-23 13:05:35 +00:00
alexpeshkoff
796e02d2a5 1. Cleanup - use constants ISC_USER/ISC_PASSWORD instead of always repeated string constants.
2. Let services uses environment and OS auth when run embedded.
2008-05-19 13:58:37 +00:00
alexpeshkoff
990c259373 Fixed CORE-1843: gbak with service manager don't allow path with space 2008-05-16 14:08:45 +00:00
alexpeshkoff
27a97e2a6a 1. Modified syntax of ALTER ROLE command according to Dmitry's request.
2. Avoid any use of predefined NT group name "Domain Admins".
3. Fixed DYN code generation for USER operations.

                     ***** WARNING *****
After this commit all previous backups of 2.5 databases with turned on
admins mapping become unrestorable. ODS is not changed.
2008-05-14 11:24:45 +00:00
dimitr
b09a10965a Misc. 2008-05-07 05:33:48 +00:00
dimitr
c40d188bf5 1) Turn on FW on all platforms by default.
2) Cleanup/misc.
2008-05-07 05:23:48 +00:00
alexpeshkoff
7ff8e4d2be Fixed CORE-1879: Server uses wrong authentication method 2008-05-04 13:38:02 +00:00
asfernandes
1679cfdd17 Fix POSIX build 2008-04-30 01:47:10 +00:00
hvlad
6ee4242552 Fixed bug CORE-1841 : If some VIEW used derived tables and long table names\aliases, It is possible to overflow RDB$VIEW_RELATIONS.RDB$CONTEXT_NAME.
Attention : ODS changed !
2008-04-29 16:39:17 +00:00
hvlad
2d7379aa3b Fixed broken restore via service API 2008-04-29 12:24:07 +00:00
robocop
272ab7fb99 Misc. 2008-04-21 12:14:16 +00:00
asfernandes
1c7cee202a Fix BLOBs when using -FIX_FSS_DATA NONE 2008-04-13 14:53:48 +00:00
asfernandes
aab534e66c 1) Misc 2) Remove temp. comment found by Claudio 2008-04-13 14:38:39 +00:00
asfernandes
28bf8b4f6c Improvement CORE-789 - Collation backup of RDB$DEFAULT_COLLATE_NAME 2008-04-11 15:35:14 +00:00
asfernandes
a9413397a7 Feature CORE-1831 - Creation of GBAK restore switches FIX_FSS_DATA and FIX_FSS_METADATA 2008-04-11 12:57:52 +00:00
alexpeshkoff
e3d7732078 Fix for CORE-1805: do not let svc_status blink during utility operation, instead copy it at service exit time 2008-04-07 10:52:34 +00:00
alexpeshkoff
71703e1d17 1. Fixed CORE-1805: Database is not restored correctly using Services API.
2. Made index activation independent from verbose flag - helps with broken backups.
2008-04-04 09:42:42 +00:00
alexpeshkoff
aafed20fe1 Fixed problems with shutting down actively running engine - related with CORE-1805. 2008-04-02 14:26:17 +00:00
dimitr
13f5cc92e1 Major cleanup of the old-style blk and allocator-based blk_type. 2008-03-19 16:09:00 +00:00
robocop
2b33eae4d1 Minimize casts. 2008-03-10 08:31:35 +00:00
alexpeshkoff
7dacbbbd74 Make fb_disconnect_transaction, fb_shutdown and fb_shutdown_callback public API calls.
Related cleanup.
2008-03-03 17:47:09 +00:00
robocop
fbdc3dbb2b Style, constness and macro cleanup. 2008-02-03 11:20:48 +00:00
alexpeshkoff
8901a0e003 Services cleanup - make class Service traditional C++ class 2008-02-02 18:33:37 +00:00
robocop
0d1985d1f0 Misc, explicit constructors, extra commas in enumerations, constness, etc. 2008-02-02 16:57:15 +00:00
alexpeshkoff
39896cb955 Fixed CORE-1671: atexit() calls in client libraries cause segfaults
and CORE-1079: Every attach of fbclient/fbembed library leaks 64KB of memory

To do it:
- created new template GlobalPtr, controlling access to destructors of global objects.
- applied it to global objects.

Also some related cleanup.
2008-01-23 15:52:40 +00:00
dimitr
067b04f988 Fixed CORE-1703. 2008-01-19 13:30:46 +00:00
dimitr
12c4322ab9 The merge continued. 2008-01-16 06:11:50 +00:00
asfernandes
40997f0bc8 Task CORE-1618 - Change GBAK option to not run database triggers to use the same name as the ISQL equivalent option 2007-11-26 14:26:46 +00:00
asfernandes
54b36766c0 Misc 2007-11-17 00:38:16 +00:00
paulbeach
c823619e92 HPUX Port 2007-11-12 15:18:49 +00:00
paulbeach
7602a29b94 HPUX Port 2007-11-12 14:26:44 +00:00
asfernandes
76f3f85b80 Misc 2007-10-29 00:19:27 +00:00
dimitr
0a37cd75b5 Fixed a possible 64-bit issue spotted by Claudio. 2007-10-28 20:20:44 +00:00
skidder
2cee6ced62 The fix by Roman Simakov for unrestorable databases if computed fields reference stored procedures 2007-10-28 13:32:28 +00:00
robocop
3a7d93f658 Misc tweaks with Firebird::string. 2007-08-26 09:53:08 +00:00
asfernandes
0abf92fb9b Misc 2007-05-09 02:03:49 +00:00
alexpeshkoff
918fe445d9 1. Fixed ignored IO-errors (i.e. incomplete backups) on non-windows platforms.
2. Fixed CORE-1237 - GBAK does not create backup in service_mgr mode if there is no space on disk, no error reported.
2007-05-08 15:16:08 +00:00
alexpeshkoff
6758baebf8 use ClumpletWriter for spb 2007-05-08 15:13:57 +00:00
alexpeshkoff
8274d3213d Fixed CORE-867 - all utilities now hide password from "ps" as soon as possible 2007-04-25 14:10:47 +00:00
dimitr
24c402dd31 Fixed CORE-1205. 2007-04-13 12:10:41 +00:00
alexpeshkoff
d63491e3c5 Finished gcc-warnings cleanup 2007-04-11 16:05:40 +00:00
asfernandes
72d139baf3 Misc 2007-04-07 15:52:45 +00:00
alexpeshkoff
1932c8f4e7 added switch -trusted to most of firebird utilities 2007-04-07 08:47:58 +00:00
asfernandes
2e08c6c366 Misc 2007-04-05 18:44:00 +00:00
robocop
da4312865c Simplification. 2007-04-04 08:50:55 +00:00
robocop
fc97d473a7 Introduce UserBlob into restore.
Pass the thread-specific information as parameter in most cases.
2007-04-04 08:45:40 +00:00
robocop
77649d995c Introduce UserBlob into backup. 2007-04-04 08:44:46 +00:00
asfernandes
e3ce7f7104 Misc 2007-03-30 01:57:36 +00:00
robocop
93f17d8508 Fix CORE-1174 2007-03-28 04:53:09 +00:00
robocop
e71a03261c This is the full SafeArg implementation for getting rid of the fixed parameter types in the messages db. Alas, the legacy messages (before FB2.1) can't be changed in number of arguments neither the types of arguments sent by callers of the MsgPrint family or the fb_msg_format functions can be changed because old clients know these legacy messages and would crash. 2007-03-28 04:20:36 +00:00
aafemt
bc6a913e84 Fix CORE-949 2007-03-27 10:29:43 +00:00
asfernandes
2fa7a76177 Misc 2007-03-06 02:29:48 +00:00
asfernandes
e9412345c3 Always restore with database triggers turned off.
The contrary doesn't make sense, and old engines (at least V2.0) accepts unkown DPB.
2007-03-04 01:27:06 +00:00
robocop
409ff041dd Misc and replaced "IB" by "FB" where it made sense to me. 2007-02-11 09:04:54 +00:00
robocop
d009be834f Misc. 2007-02-09 08:34:16 +00:00
robocop
374bab0387 Misc. 2007-02-06 09:51:38 +00:00
asfernandes
2216487d24 Fixed CORE-1064 - Wrong backup order for character sets and collations 2006-12-22 14:29:37 +00:00
alexpeshkoff
1a4652f01a Trusted authentication for windows 2006-12-08 18:38:15 +00:00
asfernandes
f42d371ae2 Misc 2006-11-25 01:34:53 +00:00
robocop
88a04e0441 Solve CORE-1009 so that Jiri can sleep at night.
:-)
2006-11-24 10:22:20 +00:00
asfernandes
d168869475 Added RDB$NULL_FLAG and RDB$PARAMETER_MECHANISM to RDB$PROCEDURE_PARAMETERS 2006-11-24 00:25:13 +00:00
asfernandes
05a44671d1 Corrections 2006-11-06 00:47:04 +00:00
asfernandes
570b6cd4b4 1) CORE-645 and CORE-745: Database triggers
2) CORE-711: Make syntax for "CREATE TRIGGER" compliant with SQL2003
2006-11-05 18:30:36 +00:00
hvlad
58d381edd7 1. Remove blr_src_info code as it is prevents database downgrade from ODS 11.1
2. Put debug information (mapping between blr offset and source line\column and names of local variables) into new blob field RDB$DEBUG_INFO
This is first step to implement native SQL debugger i believe
2006-10-30 20:58:06 +00:00
robocop
ae1dd3098c We just need one field to identify a new ODS version. 2006-08-30 04:50:53 +00:00
asfernandes
18b57e55b5 Misc 2006-08-27 02:48:51 +00:00
asfernandes
73b8ff849e Backup the new fields added - thanks to Claudio 2006-08-26 02:59:49 +00:00
aafemt
c662ea7d9e Warnings 2006-08-17 12:08:49 +00:00
robocop
1f2dc4259d Fix possible buffer overrun when restoring a db. 2006-08-01 07:42:30 +00:00
asfernandes
818d55d5a8 Misc 2006-07-30 19:49:39 +00:00
robocop
16fdc76d44 Fix wrong gbak verbose messages due to Borland's copy/paste (example: function instead of procedure).
Initialize more sysflags to zero instead of NULL.
2006-07-29 06:01:29 +00:00
robocop
1c967977a4 More backwards compatibility.
Store sysflag always. Cases that I missed before.
2006-07-28 08:29:05 +00:00
asfernandes
ccbaf55533 Misc 2006-07-28 01:44:36 +00:00