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

177 Commits

Author SHA1 Message Date
alexpeshkoff
24bd207732 Enhanced fbsvcmgr usage print - list all known switches if -? is specified 2009-12-18 16:34:01 +00:00
alexpeshkoff
3d7a990876 Frontported detection of missing/invalid parameter in fbsvcmgr 2009-12-18 14:15:26 +00:00
alexpeshkoff
f2753b7e86 Frontported changes to make -Direct switch of nbackup accept on/off parameter 2009-12-18 14:06:28 +00:00
robocop
30eee9c993 Move more hardcoded messages to the msg db. 2009-12-18 12:01:44 +00:00
robocop
5f7d45be9b Make more error messages non-hardcoded. 2009-12-17 10:50:40 +00:00
alexpeshkoff
1bb19c721d Added switch to nbackup, controlling direct access to database file 2009-12-16 17:28:52 +00:00
robocop
12729a3038 Distinguish between table and view in verbose mode. 2009-12-16 10:58:09 +00:00
robocop
363ebe834b Localization: one needed message and two messages to be used. 2009-12-16 08:12:59 +00:00
robocop
f1e70cd821 Do not hardcode anymore the backup versions allowed. 2009-12-10 07:24:18 +00:00
dimitr
11495a55fb Refactored the whole RSB stuff into classes. They're inside the /recsrc sub-directory now.
Fixed the layering for WITH LOCK and (partially) ANY/ALL predicates.
Cleaned up the outdated code that never worked (mapping DISTINCT to an index, some VMS remainings).
Wiped out a lot of the pre-ODS11 optimizer logic. Some minor adjustments there.
Re-implemented the full outer join from scratch. This resolves CORE-2678 (full outer join cannot use available indices).
Resolved CORE-2796: DB_KEY is always zero for external tables.
Implemented the core part of the scrollable PSQL cursors. Implementation is still incomplete, but ready for testing.
Some other changes I don't recall at the moment ;-)

WARNING! The engine may be unstable. Please email me about any issues found.
2009-12-09 18:45:44 +00:00
alexpeshkoff
66e980a1f2 Frontported fixed of bugs, found during 2.5.0.RC1 QA - incorrect message when lockdir is not accessible; broken yValve behavior when lockdir is not accessible; bad access rights on lockdir in init.d startup scripts 2009-12-08 15:02:09 +00:00
robocop
227cce42e4 Put an indication in case of string truncation when backing up. 2009-12-07 08:54:31 +00:00
robocop
8ac7971dc2 - Firebird does not use runtime licences.
- Client for DOS has not been seen for more time than I care to count.
2009-11-29 08:36:02 +00:00
robocop
0411da9f59 Related to CORE-2759 (but doesn't fix it yet). 2009-11-20 04:53:15 +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
asfernandes
c3ae6a708b Create new message recommended by Claudio 2009-11-17 14:22:16 +00:00
alexpeshkoff
4f54fd68e8 Frontported improvement CORE-2748: allow gsec to grant RDB$ADMIN role in the security database 2009-11-13 19:00:09 +00:00
robocop
79931e1285 Continue package support in isql. 2009-11-13 08:37:04 +00:00
robocop
7ee3db1d37 Fix Mark's rowcount feature to detect errors properly and add the due messages to the db. 2009-11-12 07:41:31 +00:00
asfernandes
f2cd6b7ec2 Misc 2009-11-12 01:38:48 +00:00
robocop
4a87e631f2 Some changes requested by Adriano and some additions (for current and future code). 2009-11-09 10:44:02 +00:00
robocop
749f83a177 Fix CORE-2740. 2009-11-08 09:12:34 +00:00
robocop
d85538ec52 Upgrade the backup version to 10 for FB3. 2009-11-06 11:36:06 +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
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
dbbea09f2b Fixed CORE-2657: Ability to get any permissions (including SYSDBA) working with services 2009-10-02 16:44:00 +00:00
hvlad
41896eeba1 Fixed bug CORE-2252 : EXECUTE STATEMENT on EXTERNAL SOURCE does not check the status of the transaction 2009-09-02 10:46:43 +00:00
dimitr
4c459ebf1b Fixed CORE-2514: When there is not enough space on the temp drive an error about CreateFile is reported.
This also fixes CORE-2321: query fails with message 'operating system directive write failed. Invalid argument.
2009-08-21 08:36:37 +00:00
hvlad
2ac6ae2804 Improvement CORE-2587 : User friendly diagnostic when engine can't create shared memory already created by the antoher engine process in another windows session 2009-08-08 12:41:45 +00:00
robocop
b22b7dc25e CORE-2582 Infinity from UDF should be trapped by the engine (and NaN as well). 2009-08-07 05:22:04 +00:00
robocop
e60f718dfb The original message about FP overflow was not very useful for built-in functions (unlike other msgs, it didn't identify the cause). Made a special message for it. Also, one alice (gfix) help item was put erroneously by IB engineers in system_errors.sql; delete it. 2009-07-17 17:13:28 +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
56671546e3 CORE-756 and CORE-2528. 2009-06-25 10:05:27 +00:00
robocop
2a8bb95ff4 CORE-1411 and CORE-1412. 2009-06-23 14:45:20 +00:00
robocop
ce9a9baf08 Validations (do not crash). 2009-06-21 11:16:24 +00:00
asfernandes
26c1892310 Misc 2009-06-20 18:46:59 +00:00
robocop
82d2c6377c New messages to fix CORE-2505: beware of built-in functions returning NaN and Inf. Code will follow in one day. 2009-06-14 12:22:59 +00:00
robocop
2e3ce0d23d Misc. 2009-06-07 09:49:58 +00:00
asfernandes
f8eb935eb7 Misc 2009-06-06 18:13:57 +00:00
asfernandes
83820dc0d9 Fixed CORE-2499 - Implementation limit of DISTINCT items are not enforced, causing generation of incorrect BLR 2009-06-06 02:21:23 +00:00
dimitr
6d2711ff7b Added timeouts to the network event listener code.
Fixed wrong usage of SO_REUSEADDR on Windows.
2009-06-04 11:06:34 +00:00
dimitr
83f78f5756 Fixed CORE-2461: Deadlock error terminates the restore process while restoring privileges. 2009-05-13 07:36:53 +00:00
alexpeshkoff
9b0950da7a Fixed CORE-2306: fbserver terminated abnormally when thread start failed 2009-04-24 15:51:40 +00:00
asfernandes
58ce555210 Fixed CORE-2432 - Missing SHOW COLLATIONs in HELP 2009-04-21 15:40:10 +00:00
alexpeshkoff
cd54e5533e Fixed CORE-2437: Buffer overflow on client when delivering events. 2009-04-17 13:36:34 +00:00
robocop
2fba97ef80 Fix the limitation in codes.epp that forced to include a spurious backslash in messages that contain a hardcoded newline or include/gen/msgs.h would be generated with an invalid C/C++ syntax. 2009-04-01 11:04:16 +00:00
alexpeshkoff
0d99a0d6c4 Implemented CORE-2322: added gsec and services support to control SYSDBA-like access of windows domain administrators to security database 2009-02-13 13:05:50 +00:00
robocop
2b542e7f1b Totally misc. 2009-02-08 09:17:44 +00:00
asfernandes
75c0d0f353 Misc 2009-02-05 01:08:13 +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
asfernandes
5311dd5a5e Misc 2008-12-20 19:57:43 +00:00
robocop
95292d1731 Style. 2008-12-20 08:12:19 +00:00
skywalker
7ffd9b3048 Message for SET ROWCOUNT <n> new ISQL command 2008-12-18 22:24:35 +00:00
robocop
0664de0b23 Misc. 2008-12-18 04:33:37 +00:00
asfernandes
e89d61d5ff New error code 2008-12-15 22:14:43 +00:00
alexpeshkoff
1c2ab35c8c CORE-1667 - fixed message text 2008-12-01 15:46:31 +00:00
alexpeshkoff
9431183e42 Implemented CORE-1667: Reading password from file/stdin 2008-11-30 17:11:56 +00:00
hvlad
cb86150479 New error message 2008-11-27 21:08:24 +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
b4f7717eb3 Implemented CORE-1758: nBackup support in Services API. 2008-11-20 17:29:38 +00:00
alexpeshkoff
d3f22d3fc5 Implemented feature CORE-2113: Remove all privileges of a user or role. Readme will be ready soon. 2008-11-14 10:00:45 +00:00
robocop
4be31b4201 It turns out that the backlash was needed, too. 2008-11-08 07:17:08 +00:00
hvlad
0b89174ecb Temporary fix for CORE-2140 : Error messages after parameters substitution contains '\n' characters instead of line break
Using hardcoded (in messages2.sql) line breaks seems to me to be not fully correct as it depends on host OS where file was last edited.
2008-11-07 09:29:34 +00:00
asfernandes
d9e1ba9da5 Corrections 2008-10-09 00:46:32 +00:00
robocop
586c3a6cde CORE-1799: improve the almost useless "expression evaluation not supported" error message.
Did the JRD side except par.cpp because this part is covered by DSQL (only ESQL programs won't get the improved messages).
2008-10-03 05:41:16 +00:00
asfernandes
364fb47606 Misc 2008-10-03 00:45:13 +00:00
robocop
fa665570d9 Correction. 2008-09-27 10:03:43 +00:00
robocop
0c85fac2d4 CORE-1799: improve the almost useless "expression evaluation not supported" error message.
Did the DSQL part for now.
2008-09-27 09:51:53 +00:00
alexpeshkoff
9b69175326 Improvement CORE-1107: Services API extension for new (single, full) shutdown modes 2008-09-16 14:19:09 +00:00
alexpeshkoff
04bbba056b Improved gsec's diagnostics 2008-09-10 12:48:48 +00:00
dimitr
02bc98b01e Fixed CORE-1544: RDB$procedures generator overflow.
The fix also solves the same issue with exceptions and generators.
2008-09-05 09:32:51 +00:00
alexpeshkoff
59cbc9e72a Do not ignore errors in our API calls when working with security database 2008-09-04 13:16:59 +00:00
asfernandes
6a5e1cc144 Fixed CORE-1894 - Circular dependencies between computed fields crashs the engine 2008-08-08 16:01:58 +00:00
asfernandes
8f9b451ce9 Rework of ib_util changes. Dynamically load it in the engine and inform callback functions to alloc and free memory. Allocate memory from the default pool. 2008-07-12 21:23:42 +00:00
alexpeshkoff
d51063e2c1 Rolled back accidential change 2008-07-10 15:59:08 +00:00
alexpeshkoff
7c8427bc35 Separated CVT functions to common and jrd parts.
This made possible to avoid ugly CVT_move export.

Cleanup of errors handling in CVT functions.
2008-07-10 15:57:33 +00:00
robocop
8028402a45 Adding one more message for localization. 2008-07-08 07:48:26 +00:00
alexpeshkoff
7098cffcb1 Use regular message code instead of arg_interpreted 2008-07-07 13:31:55 +00:00
robocop
8bca580a61 More legacy messages. 2008-07-06 12:51:16 +00:00
robocop
915783bf8e Misc:
Updating legacy message
Adding a message
Fixing some typos
2008-07-06 10:56:34 +00:00
robocop
720b2655b9 Implement new message for DSQL. 2008-06-28 04:33:29 +00:00
hvlad
acb28f7a71 More error messages for EXECUTE STATEMENT 2008-06-22 07:34:36 +00:00
hvlad
0d95bb900b Error messages for EXECUTE STATEMENT 2008-06-19 10:45:18 +00:00
asfernandes
af1d955da6 Improvement CORE-1937 - Detect (instead of crash) FREE_IT UDFs that return pointer not allocated by ib_util_malloc 2008-06-14 22:16:40 +00:00
alexpeshkoff
9326a66b83 Reserved codes for GRANTED BY clause 2008-06-03 11:47:24 +00:00
asfernandes
2f48b317b3 Better message - thanks to Paul Vinkenoog 2008-05-06 13:36:46 +00:00
asfernandes
c416ea1621 Lock the attachment handle during API calls 2008-04-20 22:54:36 +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
a393299488 Added message for shutdown timeout failure 2008-04-04 13:25:59 +00:00
dimitr
580544fbd7 More changes targeted to a better error diagnostics. 2008-04-04 10:01:06 +00:00
dimitr
3b3bdc9b27 More details about arithmetical exceptions. 2008-04-01 12:35:14 +00:00
robocop
cc72b37c9a Introduce more specific errors for date-time operations. 2008-03-28 13:21:59 +00:00
robocop
5ec7462d12 Restore the old error message for io_error. 2008-03-25 12:04:03 +00:00
robocop
5e07b77b3d Minor fix. 2008-03-23 10:20:49 +00:00
robocop
78261035cd I hope that I finally fixed all errors generated in the migration from the printf-based (%) messages to the MsgPrint-based (@) messages. They were mostly wrong numbered parameters.
Fixed some minor historical inconsistencies that predate FB, too.
2008-03-21 12:54:46 +00:00
robocop
36da6e9056 Misc fixed to the default messages. 2008-03-20 10:03:09 +00:00
dimitr
4ce29e0624 Sync with SAS: Better diagnostics for some DYN errors. 2008-03-17 17:58:47 +00:00
hvlad
0170deaff3 Fixed bug CORE-1793 : AV at prepare of query with unused parametrized CTE 2008-03-17 10:27:01 +00:00
dimitr
29694be08d Change the ISQL output to show SQLSTATE instead of SQLCODE. 2008-03-12 10:18:02 +00:00
robocop
04106ddde6 More fixes for CORE-1600.
CORE-1777.
2008-03-12 07:33:12 +00:00