8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-24 08:43:03 +01:00
Commit Graph

145 Commits

Author SHA1 Message Date
alexpeshkoff
965b851b77 Fixed CORE-2984: gbak -v srv:db stdout creates a broken backup 2010-05-06 13:42:20 +00:00
dimitr
7b1f188656 Fixed CORE-2793: Binary representation of the backup file is inconsistent among subsequent backup/restore cycles. 2010-01-15 10:09:50 +00:00
asfernandes
9c1bab1793 Feature CORE-1385 Identity columns - in its basic form 2010-01-13 19:14:15 +00:00
robocop
fb161097df Finally use the same logic to detect ODS capabilities in backup and restore. 2010-01-03 03:45:09 +00:00
robocop
9a554beb79 Advancing towards the same logic to detect ODS capabilities in backup and restore. 2010-01-02 06:19:50 +00:00
robocop
c112cc5324 Clean the ODS compatibility flags when backing up. 2010-01-02 02:21:48 +00:00
asfernandes
06a3d020b2 Misc 2010-01-01 18:45:30 +00:00
robocop
7d47e6217d Set ODS8 (IB4.0) as the minimum requirement to backup a db. Establish previous enhancements (belonging to older ODS versions) as always present, then clean the code. Added two messages, too. 2010-01-01 09:53:49 +00:00
robocop
fa99196767 Support Dmitry's new system fields in backup/restore. Isql is still missing the needed pieces. 2009-12-29 08:42:32 +00:00
robocop
12729a3038 Distinguish between table and view in verbose mode. 2009-12-16 10:58:09 +00:00
robocop
a66a86ca07 Correction. 2009-12-16 08:05:41 +00:00
robocop
465c88570e Make views know exactly what type of source their fields have: include a type of context and a package name in rdb$view_relations. Debugged with a small script.
To be reviewed & completed by Adriano.
Full rebuild, please.
2009-12-15 14:08:28 +00:00
asfernandes
f6d880755e Corrections 2009-12-08 14:28:50 +00:00
alexpeshkoff
853d97be4e fixed compile error 2009-12-08 14:24:41 +00:00
robocop
227cce42e4 Put an indication in case of string truncation when backing up. 2009-12-07 08:54:31 +00:00
robocop
6e61ef99e8 Style. 2009-11-15 09:55:14 +00:00
robocop
87b38cc1c5 Style. 2009-11-06 10:47:32 +00:00
robocop
08a33d50cc Unfortunately several of these are intertwined:
CORE-462 	 New option in addition to -V switch to specify a custom verbose interval
CORE-2540 	 Utilities need a more coherent way to show help and version
CORE-2541 	 Too many hardcoded messages in nbackup
CORE-2542 	 qli and nbackup accept arbitrary input after the first letter of an option
CORE-2543 	 nbackup may hide the real cause of failure
CORE-2545	 Lack of several validations in gbak
CORE-2547 	 Utilities need to honor their minimum number of characters to recognize an option
CORE-2565 	 Many hardcoded messages in Trace Manager
Moving functions that don't depend on preprocessing to iutils.cpp in isql is the only alien change here.
2009-11-05 09:03:41 +00:00
asfernandes
f3a3c8a7c6 Fix problems found by Claudio 2009-10-23 14:22:15 +00:00
asfernandes
ed0e0daeb3 - External Engines implementation.
- Plugins API.

- Feature CORE-2700 - UDR (User Defined Routines) Engine - C++ API supporting functions, triggers and stored procedures.
- Feature CORE-2470 - Support for alternate format of strings literals.
- Feature CORE-2310 - DDL triggers.
- Feature CORE-2312 - PSQL Packages.
- Feature CORE-1209 - CONTINUE statement.
- Feature CORE-1180 - DDL syntax to change (not) nullable state of columns.
- Feature CORE-2090 - Support OVER () clause with current aggregate functions.

- Fixed CORE-2699 - Common table expression context could be used with parameters.

- Introduce ODS 12.0.

- Work in progress in type-safe parser.
- Refactor some DDL commands (procedures and triggers) from DYN to DdlNodes.
- Refactor virtual tables to use a class hierarchy instead of namespaces. This is basic thing, not based on the changes done in Vulcan. Window functions is based on this work.
- Refactor COMMENT ON and DROP FUNCTION from DYN to DdlNodes. COMMENT ON do not use GDML anymore, it uses DSQL with PreparedStatement class.
- Refactor EXECUTE BLOCK to StmtNodes.
- Refactor the IUDF to SysFunctions. That eliminates RDB$GET_CONTEXT and RDB$SET_CONTEXT from RDB$FUNCTIONS.
2009-10-21 00:42:38 +00:00
asfernandes
4171c16988 Some things discussed with Dmitry and Claudio - rename the new function to fb_print_blr, use ULONG parameter for blr_length and return int 2009-08-03 15:52:48 +00:00
asfernandes
4759973045 Fixed CORE-2576 - Server may crash parsing wrong or truncated BLR
Full rebuild required - CMP_compile2 prototype changed
2009-08-02 04:10:07 +00:00
robocop
f10e1b72eb Style. 2009-06-27 06:23:36 +00:00
robocop
510e9aeca7 Some paranoid checks. 2009-06-25 11:34:29 +00:00
robocop
888000e21e Unused function params. 2009-04-26 10:24:44 +00:00
robocop
6780b8c31e Comments. 2009-04-17 14:10:11 +00:00
asfernandes
75c0d0f353 Misc 2009-02-05 01:08:13 +00:00
robocop
6559d18d12 Cleaning the dust that has accumulated over years. 2009-02-03 10:50:53 +00:00
robocop
297055ab15 Proposed solution for CORE-2245 in HEAD:
- create recovery routine for corrupt backups from FB2.0 and FB2.1.
- create new function to store text with length between 256 and 64K bytes.
- other related adjustments.
2009-02-02 10:24:51 +00:00
robocop
21bb7f3d20 Style. 2009-01-03 09:14:29 +00:00
robocop
2c6dcd5f38 Booleans. 2009-01-02 09:48:57 +00:00
robocop
6406e45337 Shut up compiler warnings (unreferenced vars, uninitialized vars, compile-time conditional code, etc.) 2009-01-02 06:36:12 +00:00
asfernandes
582d837778 Remove trailing spaces from epp files - I had forgot them 2008-12-20 23:50:22 +00:00
robocop
07c087094d Mostly remove useless parentheses. 2008-06-03 06:14:59 +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
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
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
robocop
fbdc3dbb2b Style, constness and macro cleanup. 2008-02-03 11:20:48 +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
12c4322ab9 The merge continued. 2008-01-16 06:11:50 +00:00
paulbeach
7602a29b94 HPUX Port 2007-11-12 14:26:44 +00:00
dimitr
24c402dd31 Fixed CORE-1205. 2007-04-13 12:10:41 +00:00
asfernandes
2e08c6c366 Misc 2007-04-05 18:44:00 +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
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
2216487d24 Fixed CORE-1064 - Wrong backup order for character sets and collations 2006-12-22 14:29:37 +00:00
asfernandes
f42d371ae2 Misc 2006-11-25 01:34:53 +00:00