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

160 Commits

Author SHA1 Message Date
dimitr
df3d4508d0 Error codes introduced for PSQL functions. 2009-12-21 16:38:49 +00:00
robocop
9333a880ca GDEF is dead. In practice, it was dead in 1994 since Borland didn't provide a binary for it in IB4. 2009-12-19 12:48:50 +00:00
robocop
8e5d0e1f0a Trying to reflect better what nbackup options do. 2009-12-19 09:17:02 +00:00
robocop
e65ebd6681 Fixing the indentation of two gbak messages. 2009-12-19 04:11:19 +00:00
asfernandes
9f57aa3eaa It's 2009 - thanks to Alex :) 2009-12-19 02:08:53 +00:00
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
asfernandes
680c08452a I insist again, we're in December (and counting from 1) :) 2009-12-17 23:57:14 +00:00
robocop
5f7d45be9b Make more error messages non-hardcoded. 2009-12-17 10:50:40 +00:00
asfernandes
b525f3b54f Misc 2009-12-16 21:52:01 +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
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
robocop
cd0ffd44fd Misc. 2009-08-21 11:40:17 +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
3ede1a8f28 Reserve numbers in msg.fdb like reserving airline tickets (no discount for massive changes, however). 2009-08-06 13:12:11 +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
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
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
alexpeshkoff
cd54e5533e Fixed CORE-2437: Buffer overflow on client when delivering events. 2009-04-17 13:36:34 +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
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
e89d61d5ff New error code 2008-12-15 22:14:43 +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
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
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
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
asfernandes
0f387a9bee Misc 2008-09-06 18:42:55 +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
robocop
70ffe7edaa Correction. 2008-08-28 05:14:33 +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
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
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
robocop
ba3b1540d9 Totally misc. 2008-06-05 11:56:49 +00:00
alexpeshkoff
9326a66b83 Reserved codes for GRANTED BY clause 2008-06-03 11:47:24 +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
dimitr
6da8463556 Update. 2008-03-18 06:13:37 +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
robocop
d293e5f0d1 Misc. 2008-03-13 11:02:56 +00:00
robocop
04106ddde6 More fixes for CORE-1600.
CORE-1777.
2008-03-12 07:33:12 +00:00
robocop
f847cbba32 CORE-1600, work in progress. I expect I copied a consistent intermediate state. 2008-03-07 06:26:19 +00:00
robocop
2d8ac2acb9 CORE-1600, work in progress, before I have to return to my private work. 2008-03-06 09:43:43 +00:00
asfernandes
5d2ca89242 Misc 2008-03-01 18:24:06 +00:00
alexpeshkoff
48e9858b57 fixed CORE-1756: AV in isc_start_transaction (isc_start_multiple) 2008-02-29 16:44:17 +00:00
dimitr
d4d587d155 The merge continued. 2008-01-16 08:16:36 +00:00
asfernandes
0ee85c7525 Misc 2007-12-28 00:14:00 +00:00
alexpeshkoff
edd59f96dc Better fix for a problem, reported by Roman - wrong diagnostics in gsec 2007-12-27 09:21:52 +00:00
robocop
1147c140fe Fixed the message
column @1 is not defined in table @1
and added a new one for unknown field in procedure (with Dmitry's permission).
2007-12-04 10:05:17 +00:00
asfernandes
54b36766c0 Misc 2007-11-17 00:38:16 +00:00
hvlad
d91be7de26 Fixed bug CORE-1597 : GLOBAL TEMPORARY TABLEs allowed to be created in ODS less than 11.1 2007-11-15 23:03:43 +00:00
alexpeshkoff
a80dd39b11 Fixed CORE-1593: Full domain user name can be longer than 31 char(for trusted authentication) 2007-11-15 12:48:24 +00:00
asfernandes
b2669fac42 Misc 2007-10-27 18:09:32 +00:00
alexpeshkoff
edc03201ca Fixed CORE-1537: NBackup creates difference file in bad place 2007-10-26 13:21:16 +00:00