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

586 Commits

Author SHA1 Message Date
hvlad
115602ff06 Trace services support 2009-02-01 22:10:12 +00:00
asfernandes
b377d67a74 Misc 2009-01-23 17:44:47 +00:00
alexpeshkoff
ae2a0d355c frontported minor visibility issue on darwin 2009-01-22 09:17:27 +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
asfernandes
84dfa0e092 Fixed CORE-316 - Can't open database with MBCS/Extended characters in name.
Documentation soon.
2008-12-15 14:59:34 +00:00
hvlad
a0aa119e7e Add one more step for fb_shutdown process : fb_shut_finish 2008-12-11 11:43:06 +00:00
asfernandes
ff5f8745fb Remove trailing spaces (.h files) 2008-12-05 00:56:15 +00:00
asfernandes
a5ff7ca091 Misc 2008-12-01 01:26:27 +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
36e1866a1d Few fixes to correctly close brocken external connection.
Ability to stop execution of external query when :
- engine is shutted down
- database is shutted down
- local statement is cancelled
- local connection is cancelled
2008-11-27 23:06:48 +00:00
hvlad
2b6ba03d63 Implement new option (fb_cancel_abort) for fb_cancel_operation(). It allows forcebly close client port and allow application to shutdown even it wait of execution finish of some long running query. Use carefull !
Not implemented for WNET, work in progress.
2008-11-27 22:59:42 +00:00
hvlad
f03805c59f Regenerated headers after new error message added 2008-11-27 21:09:24 +00:00
hvlad
c88151c080 Split class system_call_failed into two exception classes : system_error and system_call_failed. system_error is an wrapper for OS errors and system_call_failed inherits from system_error and calls abort() when exception raised. system_error intended for the cases where failure of OS call is expected and can be handled. 2008-11-27 20:16:46 +00:00
hvlad
b37e24cf14 Added phase of preliminary confirmation for fb_shutdown process 2008-11-25 10:16:53 +00:00
alexpeshkoff
b4f7717eb3 Implemented CORE-1758: nBackup support in Services API. 2008-11-20 17:29:38 +00:00
alexpeshkoff
ff40a4e199 Implemented CORE-2197: added support for -nodbtriggers switch in gbak into services API 2008-11-17 16:29:14 +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
robocop
fe4ea77213 Generate file again after Vlad's changes. 2008-11-08 07:01:17 +00:00
alexpeshkoff
d8ea120ded AIX port - use FB_ prefix for alignment constants 2008-11-05 11:26:23 +00:00
alexpeshkoff
208f0a2e85 misc 2008-10-10 15:46:56 +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
alexpeshkoff
826f3900da looks like file was not committed after message's change 2008-10-02 14:03:45 +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
asfernandes
2cebfa88b4 Misc 2008-09-17 01:36:48 +00:00
alexpeshkoff
9b69175326 Improvement CORE-1107: Services API extension for new (single, full) shutdown modes 2008-09-16 14:19:09 +00:00
asfernandes
c6aa5db108 Warnings 2008-09-13 16:38:08 +00:00
alexpeshkoff
121af76de7 Made XSQLDA parameter const in isc_dsql_fetch and a family of isc_dsql_exec functions as suggested by Dmitry Kovalenko.
Minor related cleanup in utld.
2008-09-10 12:31:54 +00:00
alexpeshkoff
8d353aceb9 Do not reallocate string into circular buffer if it is already in it 2008-09-05 11:33:52 +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
dimitr
f026bc4be9 Adjustment for MSVC9. 2008-09-02 07:31:54 +00:00
asfernandes
cc5b689eda Misc 2008-08-29 02:18:50 +00:00
alexpeshkoff
13a15d4bfe 1. Final fix for CORE-1964 - finished vararg cleanup in jrd.
2. Generic cleanup of error reporting functions all around engine.
2008-08-27 12:20:47 +00:00
asfernandes
6a5e1cc144 Fixed CORE-1894 - Circular dependencies between computed fields crashs the engine 2008-08-08 16:01:58 +00:00
dimitr
17520b6531 Corrections for the new embedded implementation.
Removed some embedded specifics that shouldn't be necessary once the required changes are committed.
Please note that the lock table is still per-instance, so multi-process usage is still unsafe. To be fixed later.
2008-07-14 18:14:30 +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
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
alexpeshkoff
5ac5869661 CORE-1964 - stop vararg mess when reporting errors. Use special class for it. More (ERR_post cleanup) to come. 2008-07-03 12:02:54 +00:00
robocop
720b2655b9 Implement new message for DSQL. 2008-06-28 04:33:29 +00:00
dimitr
e40f912049 Misc. 2008-06-26 11:28:37 +00:00
hvlad
790dfab71f Updated error codes 2008-06-22 07:37:47 +00:00
robocop
cb564a47fc Repost this header in accordance with the current codes.epp formatting. 2008-06-19 12:32:27 +00:00
robocop
88abde00a9 Sync headers with the latest messages db changes. 2008-06-19 12:30:53 +00:00
hvlad
7f4a770050 Updated error codes 2008-06-19 10:46:52 +00:00
asfernandes
791a2c1b1b Fixed Linux SS build 2008-06-17 01:05:34 +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
robocop
2821ad30cf Misc. 2008-05-29 12:01:50 +00:00
alexpeshkoff
b9be96d37f Applied Damyan's patch eliminating some warnings in gcc 4.3 2008-05-28 13:22:26 +00:00
asfernandes
732b070ec9 Fix warnings 2008-05-24 02:08:12 +00:00
alexpeshkoff
ff7cfc717e Implemented Adriano's suggestion concerning fb_shutdown_callback() - added new parameter 2008-05-22 08:59:45 +00:00
alexpeshkoff
86cd8cb6b3 1. Added parameter 'shutdown reason' to fb_shutdown() API call. It's passed to shutdown
callback function, and helps to take correct action in it. This fixes CORE-1827: Win32
Embedded Server should pass control to application before calling exit(3).
2. Removed unneeded any more flag in isql and qli, used earlier to distinguish between
kinds of shutdown.
2008-05-16 11:31:57 +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
8b4a83f201 Misc 2008-05-11 03:00:46 +00:00
dimitr
0a1268830e Added table MON$MEMORY_USAGE. 2008-05-06 08:24:07 +00:00
alexpeshkoff
0ba2ab7ea7 Make fb_cancel_operation() public API call. Related cleanup. 2008-04-29 09:55:41 +00:00
alexpeshkoff
d4ffa306bf Fixed CORE-1864: SELECT operator does not work in ISQL 2008-04-24 16:05:39 +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
robocop
97543c6cb9 Generated iberor.h has slightly different layout. 2008-04-18 09:48:52 +00:00
dimitr
8a07d31e5f 1) Simplified the internal provider API a little.
2) Passed the original filename (possibly an alias) via DPB. This way it can be transmitted through the remote subsystem.

Hopefully, this should fix CORE-1105, CORE-1390 and CORE-1566 at once.
Although a better hope would be that it won't break anything else :-)
2008-04-17 16:02:46 +00:00
alexpeshkoff
a9fd3a9a6f Fixed CORE-1844: Valgrind often reports "Conditional jump or move depends on uninitialised value(s)" in check_status_vector() 2008-04-17 13:13:04 +00:00
robocop
28979f1d73 Fix EXECUTE STATEMENT regarding the constness of the interface. 2008-04-13 08:11:16 +00:00
asfernandes
0e8febd6e3 Misc 2008-04-10 02:35:30 +00:00
hvlad
fe3f8c184b New EXECUTE STATEMENT with support of external data source implementation 2008-04-09 20:18:47 +00:00
dimitr
be8494e655 Adjustments upon discussion with Bill. 2008-04-04 19:45:22 +00:00
alexpeshkoff
46dac1b8e1 Added message for shutdown timeout failure 2008-04-04 14:04:55 +00:00
dimitr
580544fbd7 More changes targeted to a better error diagnostics. 2008-04-04 10:01:06 +00:00
dimitr
56617e6e22 Ooops. Wrong commit. 2008-04-01 13:47:10 +00:00
dimitr
37c1f5eba8 More details about arithmetical exceptions. 2008-04-01 13:47:09 +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
alexpeshkoff
4d9db9e4fb Added types of remote blocks 2008-03-24 15:19:12 +00:00
robocop
2ca5d0e4ab Commit generated file after my messages2.sql changes. 2008-03-22 06:36:59 +00:00
dimitr
a0434798ff Correction. We cannot have vtbl in child classes. 2008-03-20 16:38:37 +00:00
dimitr
492264980f A bit better name. 2008-03-20 16:24:11 +00:00
robocop
36da6e9056 Misc fixed to the default messages. 2008-03-20 10:03:09 +00:00
dimitr
13f5cc92e1 Major cleanup of the old-style blk and allocator-based blk_type. 2008-03-19 16:09:00 +00:00
dimitr
4ce29e0624 Sync with SAS: Better diagnostics for some DYN errors. 2008-03-17 17:58:47 +00:00
hvlad
46a7a47953 Update codes after new error message added. Note, i added message at the place where it can be added in 2.1 release, not at the end of list as usual. 2008-03-17 10:29:13 +00:00
robocop
04106ddde6 More fixes for CORE-1600.
CORE-1777.
2008-03-12 07:33:12 +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
6fe139de30 Not sure who needs this file, but I updated it to reflect the deletion of rdb_codes.h; I would delete this file as well. 2008-03-07 09:18:55 +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
alexpeshkoff
7dacbbbd74 Make fb_disconnect_transaction, fb_shutdown and fb_shutdown_callback public API calls.
Related cleanup.
2008-03-03 17:47:09 +00:00
dimitr
22081e1cd7 Cleanup. 2008-03-01 11:39:35 +00:00
alexpeshkoff
48e9858b57 fixed CORE-1756: AV in isc_start_transaction (isc_start_multiple) 2008-02-29 16:44:17 +00:00
robocop
f363882082 Switch to FB_ prefix. 2008-02-29 05:33:44 +00:00
robocop
2a0238254f Make sqlstate a public type like status vector. 2008-02-28 09:35:49 +00:00
dimitr
ec513fd5cb Ported SQLSTATE from Vulcan.
Part I: core changes.
2008-02-24 14:07:01 +00:00
dimitr
253765389a Done CORE-1750. 2008-02-20 13:13:22 +00:00
robocop
0d1985d1f0 Misc, explicit constructors, extra commas in enumerations, constness, etc. 2008-02-02 16:57:15 +00:00