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

488 Commits

Author SHA1 Message Date
asfernandes
3f5aded4e3 Misc 2009-11-28 01:44:42 +00:00
robocop
ec26064316 Misc (obsolete utility). 2009-11-27 06:56:05 +00:00
asfernandes
13e1546a70 Misc 2009-11-21 00:10:16 +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
robocop
5ca7733606 Style. 2009-11-16 08:06:33 +00:00
robocop
1386adcf90 Style. 2009-11-16 08:06:31 +00:00
robocop
6f0d002188 Misc. 2009-11-14 09:19:45 +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
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
asfernandes
6377356940 Misc 2009-07-23 00:56:28 +00:00
robocop
c9455664eb Misc (obsolete utilities) 2009-07-20 12:44: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
asfernandes
5063bafc36 Misc 2009-07-15 03:13:16 +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
robocop
51d3c9b756 Let's use more typical #ifdef to test macros instead o #if. 2009-05-29 11:27:41 +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
8813c1915d SQLSTATE adjustments. 2009-05-13 06:31:25 +00:00
robocop
66b1227b22 Unused params, some formatting, cleanup. 2009-05-01 17:21:36 +00:00
robocop
6016b5b6c0 Misc. 2009-04-26 13:51:56 +00:00
asfernandes
7be7979f3f Misc 2009-04-25 20:36:07 +00:00
alexpeshkoff
9b0950da7a Fixed CORE-2306: fbserver terminated abnormally when thread start failed 2009-04-24 15:51:40 +00:00
robocop
4df2839ac2 Misc. 2009-04-22 11:47:19 +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
a730fbf074 Get rid of more typedefs. 2009-04-03 10:07:55 +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
dimitr
65dfb192e7 A few SQLSTATE changes upon request by Bill Oliver. 2009-02-05 13:09:37 +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
robocop
3a03e0515c Style: aligning the opening and ending braces in switch() statements and in large blocks of code. 2009-01-18 11:36:08 +00:00
robocop
46d7ff6550 Style. 2009-01-14 12:19:43 +00:00
robocop
d11c994960 Style. 2008-12-31 05:06:08 +00:00
asfernandes
582d837778 Remove trailing spaces from epp files - I had forgot them 2008-12-20 23:50:22 +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
396bcd4fac Misc 2008-12-18 01:31:26 +00:00
asfernandes
f771b02fdf Use better SQL state code, per Bill request 2008-12-18 01:23:40 +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
alexpeshkoff
2200a681f8 fixed some gcc warning 2008-11-28 18:49:07 +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
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
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
dimitr
f5862f3c40 SQLSTATE correction, as suggested by Bill. 2008-06-18 17:09:50 +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
2f48b317b3 Better message - thanks to Paul Vinkenoog 2008-05-06 13:36:46 +00:00
asfernandes
29490460b2 Misc 2008-04-20 23:03:35 +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
dimitr
45da69b78d Adjustments upon discussion with Bill. 2008-04-04 19:35:49 +00:00
alexpeshkoff
46dac1b8e1 Added message for shutdown timeout failure 2008-04-04 14:04:55 +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
7ed8500409 Correction. 2008-04-02 08:04:18 +00:00
dimitr
3b3bdc9b27 More details about arithmetical exceptions. 2008-04-01 12:35:14 +00:00
dimitr
409f4a8f60 Misc. 2008-04-01 12:24:54 +00:00
dimitr
0cc9bf08c7 Misc. 2008-04-01 12:10:07 +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
4b50da05cc Final adjustments to the messages db.
German and French files ready to be translated (messages needing review and new ones).
2008-03-23 12:55:32 +00:00
robocop
daef4541bf Fix the translated messages and put them in sync with the new syntax. 2008-03-23 10:22:41 +00:00
robocop
f3ca4b4974 Implement some manual validations for our messages' text. 2008-03-23 10:21:40 +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
robocop
da5068258d Fix the German translation of the firebird.msg file to sync with the English (and default) version. 2008-03-20 10:00:30 +00:00
robocop
c20b0ea35e Clean, order and fix the French translation of the firebird.msg file. 2008-03-20 09:59:25 +00:00
robocop
470f5e37c1 Misc. 2008-03-18 13:46:31 +00:00
robocop
e6de43f68b Cleanup and ordered localized msgs file. Lacks a lot of the new messages. 2008-03-18 12:37:06 +00:00
dimitr
6da8463556 Update. 2008-03-18 06:13:37 +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
robocop
4d4b18c115 Fix some issues: wrong pathname used for localized msgs, possibly trash stored in msg file, some obvious checks, etc. 2008-03-16 13:38:58 +00:00
robocop
d293e5f0d1 Misc. 2008-03-13 11:02:56 +00:00
robocop
55c27384cf Remove files that were superseded by their *2.sql counterparts. 2008-03-13 11:00:29 +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
robocop
2b33eae4d1 Minimize casts. 2008-03-10 08:31:35 +00:00
robocop
747474fc7d Get rid of the field VMS_CODE in the messages database.
You should preprocess and compile codes.epp again or you will read trash from the db when regenerating the header files in include/gen.
For Win32, this means calling create_msgs alone is not enough; do a boot build instead.
2008-03-07 09:24:14 +00:00
robocop
4054c1d65e Putting more constraints was the only way to safely discover all the inconsistencies in the scripts that fill msg.fdb with messages' code, text, sqlclass and other information. Served as an exercise to fix some errors that may predate FB, too. 2008-03-07 07:37:57 +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
dimitr
c991229426 Fixed the SQLSTATE issue reported by Claudio. 2008-03-05 09:31:51 +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
robocop
c8950e618f Fixing the SQL states input file to be able to complete the boot build process without strange errors. 2008-02-28 08:59:20 +00:00
dimitr
fd1d156647 Fixed the boot build. 2008-02-28 08:51:17 +00:00
dimitr
b5a02b04d8 Added the forgotten file. 2008-02-27 05:08:09 +00:00
dimitr
ec513fd5cb Ported SQLSTATE from Vulcan.
Part I: core changes.
2008-02-24 14:07:01 +00:00
robocop
980b9e5176 I thought this DYN message deserves to be translatable. 2008-02-02 16:51:51 +00:00
dimitr
d4d587d155 The merge continued. 2008-01-16 08:16:36 +00:00
dimitr
1dd06bb484 The merge continued. 2008-01-16 07:40:12 +00:00
asfernandes
0ee85c7525 Misc 2007-12-28 00:14:00 +00:00