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

554 Commits

Author SHA1 Message Date
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
robocop
980b9e5176 I thought this DYN message deserves to be translatable. 2008-02-02 16:51:51 +00:00
asfernandes
aea2bcb354 Misc 2008-01-23 19:03:16 +00:00
alexpeshkoff
39896cb955 Fixed CORE-1671: atexit() calls in client libraries cause segfaults
and CORE-1079: Every attach of fbclient/fbembed library leaks 64KB of memory

To do it:
- created new template GlobalPtr, controlling access to destructors of global objects.
- applied it to global objects.

Also some related cleanup.
2008-01-23 15:52:40 +00:00
alexpeshkoff
68a4f26b0e Fixing merge (generated headers) 2008-01-16 12:29:17 +00:00
dimitr
48e81dd58a The merge is being fixed. 2008-01-16 12:22:11 +00:00
dimitr
17e5267603 The merge continued. 2008-01-16 07:15:01 +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
hvlad
2b47bbe55b Revert files back after wrong commit 2007-11-19 00:21:18 +00:00
hvlad
86f1141328 Execute statement with support of external data source 2007-11-18 22:59:20 +00:00
robocop
4463333859 No more hpux (lowercase). To be reviewed by Paul Beach. 2007-11-17 10:26:09 +00:00
hvlad
5fb46701d1 Regenerate files 2007-11-15 23:05:40 +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
paulbeach
c823619e92 HPUX Port 2007-11-12 15:18:49 +00:00
alexpeshkoff
edc03201ca Fixed CORE-1537: NBackup creates difference file in bad place 2007-10-26 13:21:16 +00:00
asfernandes
1706ea36d3 Backport patch to make references (at BLR level) to non-existent system fields return NULL - to simplify ODS differences handling 2007-10-14 01:32:24 +00:00
dimitr
317748b2e1 Added MON$STAT_GROUP into the statistics tables.
This allows to join backwards from a particular statistics record.
2007-09-28 19:43:06 +00:00
alexpeshkoff
fc89b23b7f added public method to make strings in vector permanent to StringsBuffer 2007-09-26 17:50:31 +00:00
dimitr
72bbf56ea2 Added MON$BACKUP_STATE to MON$DATABASE. 2007-09-14 15:39:53 +00:00
dimitr
a13f1e0ff4 Added MON$IO_STATS and MON$RECORD_STATS. 2007-09-14 15:13:19 +00:00
asfernandes
6e5cc128e8 Correction 2007-09-11 16:07:29 +00:00
paulbeach
1644f2cb64 MacOS Port into HEAD 2007-06-11 14:21:33 +00:00
robocop
23fb63d680 Misc. 2007-06-08 08:40:59 +00:00
alexpeshkoff
344fdfbfc7 Make ids.h better human-readable 2007-06-06 13:08:03 +00:00
alexpeshkoff
ea8ba3370d Cleaned up mutexes - removed MUTX_T and related macros 2007-06-06 12:37:24 +00:00
dimitr
bc7c4d0054 Added remote process name to the monitoring data. Applications are allowed to override this value via DPB. 2007-05-16 07:54:33 +00:00
alexpeshkoff
8aba4a1ea1 Added fbsvcmgr, utility to access services manager 2007-05-03 11:25:05 +00:00
asfernandes
c5cf6ea6b8 Implementation of CORE-1235: NATURAL JOIN and JOIN...USING 2007-04-29 19:04:26 +00:00
alexpeshkoff
f9b7195280 Fixed CORE-1083 - engine silently ignored attempt to revoke privilege 2007-04-28 14:13:44 +00:00
skidder
91fa2c7080 Fix MSVC8/Win32 build. IMO, these things where not nice:
- Target-dependent global typedefs
- Target-dependent stuff in COMMON .cpp files
2007-04-26 19:30:15 +00:00
alexpeshkoff
8274d3213d Fixed CORE-867 - all utilities now hide password from "ps" as soon as possible 2007-04-25 14:10:47 +00:00
asfernandes
9582ea243c 1) Upgrade INTL interface to undestand misc. configuration informations
2) Make our ICU collations work with different ICU versions (tested with ICU 3.6)
2007-04-15 15:57:12 +00:00
robocop
dd2432420a Either VC doesn't have INFINITY in math.h or it should be constrained to new versions of the compiler. 2007-04-15 11:21:56 +00:00