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

532 Commits

Author SHA1 Message Date
dimitr
ffa0c84d97 Added the missing RDB$SYSTEM_FLAG and RDB$DESCRIPTION columns into RDB$FUNCTION_ARGUMENTS. 2011-07-14 15:27:25 +00:00
asfernandes
f14ec26183 Misc. 2011-06-04 02:18:55 +00:00
alexpeshkoff
a01baa2112 Add verbose message for CORE-3461 2011-06-01 09:36:07 +00:00
alexpeshkoff
fa0b56fdd5 Simplification - thanks to Vlad 2011-06-01 08:04:31 +00:00
alexpeshkoff
07c631f366 Fixed CORE-3461: DDL operations fail after backup/restore 2011-06-01 07:47:56 +00:00
alexpeshkoff
256cb1e853 1. Use reference counted stable in global pool objects instead PublicHandle's validation.
2. Avoid massive segfaults when closing heavily loaded server.                                                                                 
3. Restored logic in YValve required for correct shutdown.                                                                                    
4. Do not change externally visible request body when preparing it.
2011-04-25 17:47:56 +00:00
asfernandes
e53330f9f6 Improvement CORE-3433 - Improve GBAK restore performance (records insertion). 2011-04-19 15:24:51 +00:00
dimitr
d640d04922 Fixed assertion during restore. 2011-03-03 14:12:07 +00:00
asfernandes
8ee5d6965e Warnings 2011-02-09 21:25:46 +00:00
alexpeshkoff
511daaca67 warnings 2011-01-21 16:43:49 +00:00
alexpeshkoff
740351638f Fixed CORE-3261: Assertion when running restore service 2010-11-26 16:54:53 +00:00
alexpeshkoff
20777b4fe3 Check for presence of sync functions 2010-11-25 15:48:37 +00:00
asfernandes
b46abf3984 Misc 2010-11-21 02:36:57 +00:00
alexpeshkoff
23813add62 Fixed CORE-3249: gbak file is not truncated during backup operation 2010-11-19 15:12:49 +00:00
alexpeshkoff
694fb30f8f Fixed assertion 2010-11-15 17:03:30 +00:00
dimitr
7eded400e8 Let's clearly distinguish between deterministic and invariant functions, they're not the same thing actually. Runtime optimization usage is to be re-considered, if necessary.
Warning: this includes an ODS change, please boot-build.
2010-11-13 15:03:44 +00:00
alexpeshkoff
e05c1a825f Moved some more .h-files to common from jrd as Vlad suggested 2010-10-13 10:39:52 +00:00
alexpeshkoff
2dc25a44bb OSRI and new posix build 2010-10-12 08:02:57 +00:00
asfernandes
be078848df Create system constraints for better error reporting. Change to GBAK must be backported to avoid future problems. 2010-07-26 02:14:48 +00:00
alexpeshkoff
b2da448e8c Fixed problems, noticed by Claudio and Adriano 2010-05-17 10:01:34 +00:00
asfernandes
d6e4b53865 Misc 2010-05-08 02:25:58 +00:00
alexpeshkoff
965b851b77 Fixed CORE-2984: gbak -v srv:db stdout creates a broken backup 2010-05-06 13:42:20 +00:00
alexpeshkoff
e8acf155b0 Cleanup - avoid 2 unneeded calls "tdgbl->uSvc->output("");" 2010-04-16 14:49:00 +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
asfernandes
4dc5b55f74 Misc 2010-01-04 00:43:45 +00:00
robocop
5326aa9a5f Show me the backup level when restoring with verbose option. 2010-01-03 12:43:43 +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
c404e12ec0 Advancing towards the same logic to detect ODS capabilities in backup and restore. 2010-01-02 02:22:25 +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
asfernandes
0057047932 Misc 2009-12-30 00:50:39 +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
alexpeshkoff
4f249d5269 Frontported - fixed delivery of status vector from service thread 2009-12-18 12:42:26 +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
robocop
f1e70cd821 Do not hardcode anymore the backup versions allowed. 2009-12-10 07:24:18 +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
asfernandes
bc5b963ff6 Warnings 2009-11-27 00:05:15 +00:00
alexpeshkoff
7a91624405 removed accidentially committed debugging 2009-11-26 13:47:38 +00:00
alexpeshkoff
ca7182b575 misc 2009-11-26 13:40:35 +00:00
asfernandes
59a21a1f8c Improvement CORE-2754 - Hint the user about -FIX_FSS_METADATA and -FIX_FSS_DATA when restore fail with malformed string error 2009-11-19 13:21:59 +00:00
robocop
a528be3d26 I don't see the need for a pointer to pointer here. 2009-11-16 08:35:47 +00:00
robocop
1386adcf90 Style. 2009-11-16 08:06:31 +00:00
asfernandes
aa254c0e64 Misc 2009-11-16 01:20:35 +00:00
robocop
6e61ef99e8 Style. 2009-11-15 09:55:14 +00:00
asfernandes
0b2a994c27 Misc 2009-11-13 01:36:09 +00:00
robocop
749f83a177 Fix CORE-2740. 2009-11-08 09:12:34 +00:00
robocop
8bbcabb4d8 Style. 2009-11-08 07:50:41 +00:00
robocop
e65ab881d3 Misc. 2009-11-07 12:14:55 +00:00
robocop
07ee47bca7 Detect invalid values from corrupt backups using previous backup formats. 2009-11-07 11:57:59 +00:00
robocop
d85538ec52 Upgrade the backup version to 10 for FB3. 2009-11-06 11:36:06 +00:00
robocop
87b38cc1c5 Style. 2009-11-06 10:47:32 +00:00
robocop
b19999bb7c Adriano prefers a constant. 2009-11-06 05:26:54 +00:00
asfernandes
87e274b76a Misc 2009-11-06 01:21:14 +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
dc5edd5aed Misc 2009-10-23 00:42:40 +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
alexpeshkoff
fbda7f245e Fixed CORE-2439: Add FIX_FSS_DATA and FIX_FSS_METADATA into the server 2009-10-05 10:26:59 +00:00
asfernandes
dbed23fafc Misc 2009-10-03 00:52:23 +00:00
alexpeshkoff
dbbea09f2b Fixed CORE-2657: Ability to get any permissions (including SYSDBA) working with services 2009-10-02 16:44:00 +00:00
alexpeshkoff
9629eafccd Use per-thread circular strings buffers instead common and per-attachment combination 2009-09-01 09:20:24 +00:00
robocop
5347ea818e Misc. 2009-08-05 06:35:57 +00:00
asfernandes
2cb136d9b8 Misc 2009-08-05 02:12:46 +00:00
robocop
895fa9fa55 Start from our minimum accepted page size instead of the legacy value. 2009-08-04 12:59:09 +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
8b2682d0ed Misc. 2009-07-17 08:57:13 +00:00
alexpeshkoff
b053182f60 Fixed gbak logic when using -TRUSTED switch - thanks to Claudio 2009-07-10 07:52:56 +00:00
robocop
f537ae9a25 booleans. 2009-07-08 01:15:01 +00:00
robocop
ba89580753 CORE 2540: Utilities need a more coherent way to show help and version
Now all utilities react to -z for version and -? for help (qli was left for another time)
CORE-2541: Too many hardcoded messages in nbackup (done partially)
2009-07-07 10:25:50 +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
9d17ba5a42 Debug check. 2009-06-25 10:50:11 +00:00
robocop
913ded5189 in_sw_tab_t data member in_sw_state is bool. 2009-06-07 10:13:57 +00:00
asfernandes
f8eb935eb7 Misc 2009-06-06 18:13:57 +00:00
robocop
c6106603df Misc. 2009-06-05 10:24:39 +00:00
dimitr
931ab84255 Fixed a bug in one of my recent commits. 2009-06-04 06:16:30 +00:00
robocop
51d3c9b756 Let's use more typical #ifdef to test macros instead o #if. 2009-05-29 11:27:41 +00:00
asfernandes
c991e7d5cf Misc 2009-05-15 00:51:21 +00:00
robocop
11c7773ff5 Misc. 2009-05-14 10:47:38 +00:00
dimitr
83f78f5756 Fixed CORE-2461: Deadlock error terminates the restore process while restoring privileges. 2009-05-13 07:36:53 +00:00
dimitr
ebd0bcfc91 Rolled back fix for CORE-2440: Restoring DB with computed index on computed field provides wrong index and wrong select results.
1) It doesn't solve the reported issue when a database is restored *without* the -verbose switch.
2) It breaks restore for any database that has user-defined plans embedded into procedures/triggers and the restore is performed *with* the -verbose switch.
The ticket is reopened in a hope for a better solution to be found.
2009-05-08 07:44:41 +00:00
asfernandes
10328dff3b Misc 2009-05-06 02:02:37 +00:00
hvlad
98aafa7471 Fixed bug CORE-2440 : Restoring DB with computed index on computed field provides wrong index and wrong select results 2009-05-04 11:47:18 +00:00
robocop
66b1227b22 Unused params, some formatting, cleanup. 2009-05-01 17:21:36 +00:00
robocop
888000e21e Unused function params. 2009-04-26 10:24:44 +00:00
asfernandes
c986de33a2 Misc 2009-04-22 01:58:40 +00:00
robocop
6780b8c31e Comments. 2009-04-17 14:10:11 +00:00
robocop
1452ca21c1 Misc. 2009-04-15 06:40:17 +00:00
alexpeshkoff
77498cac9b Fixed some warnings 2009-04-03 10:49:07 +00:00
robocop
fab6a3a6cf Get rid of superflous parentheses. 2009-02-28 11:57:40 +00:00
robocop
096d8e78e6 Trying to be more consistent in the detection of headers (HAVE_* macros). 2009-02-08 11:38:00 +00:00
asfernandes
75c0d0f353 Misc 2009-02-05 01:08:13 +00:00