8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-26 07:23:08 +01:00
Commit Graph

759 Commits

Author SHA1 Message Date
robocop
c7906977d9 String windows.h even more and add synonym for _isnan (without underscore). 2009-06-12 08:22:54 +00:00
asfernandes
c9261a4e84 Misc 2009-06-06 18:38:11 +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
d8dede8e11 SQLSTATE adjustments. 2009-05-13 07:40:57 +00:00
robocop
a317a08aa6 Undefine definitions used in other platforms (just in case). 2009-05-07 15:52:45 +00:00
robocop
e5b226f7a7 More unused params; style. 2009-05-02 13:00:09 +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
robocop
dea57e9099 Get rid of SCO. 2009-04-15 06:29:00 +00:00
robocop
44bd3c0f45 Do not hide some important warnings. 2009-03-06 12:10:50 +00:00
asfernandes
2d40bd2425 Remove not used and non-simmetric platform specific define 2009-03-05 01:01:57 +00:00
aafemt
6f2d3a5acc Shared library extension on Windows is "dll" 2009-03-01 16:37:08 +00:00
asfernandes
517f426392 Misc 2009-02-15 18:05:38 +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
asfernandes
0038863661 Misc 2009-02-08 17:23:00 +00:00
robocop
7be6dc9a47 This file was challenging all our typical indenting practices. 2009-02-08 09:09:20 +00:00
asfernandes
1105286dee Misc 2009-02-07 15:20:34 +00:00
dimitr
12931dc790 Committed the forgotten file. 2009-02-06 09:01:23 +00:00
dimitr
bf22c99788 1) Declare the input of put_vax_short() to be signed instead of unsigned.
2) Add put_vax_int64() to deal with 64-bit values.
2009-02-05 20:09:53 +00:00
dimitr
b2a8a619e3 Move the int64 typedefs from common.h into fb_types.h.
This brings the consistency with other FB types and allows to use int64 values without including common.h.
2009-02-05 20:08:33 +00:00
hvlad
3fa1da548d MSVC have <io.h> 2009-02-02 13:54:37 +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
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
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
robocop
01864d3507 Fix CORE-1162 2007-03-28 04:51:48 +00:00
robocop
e71a03261c This is the full SafeArg implementation for getting rid of the fixed parameter types in the messages db. Alas, the legacy messages (before FB2.1) can't be changed in number of arguments neither the types of arguments sent by callers of the MsgPrint family or the fb_msg_format functions can be changed because old clients know these legacy messages and would crash. 2007-03-28 04:20:36 +00:00
robocop
4c970f143d Correct error code (forgot this generated file in the previous commit). 2007-03-22 14:03:24 +00:00
dimitr
d31f946fba Added MON$CALL_STACK plus some minor monitoring-related changes. 2007-03-05 07:50:23 +00:00
robocop
3a73b8c28c Update generated file after Alex changes. 2007-03-02 11:14:14 +00:00
robocop
409ff041dd Misc and replaced "IB" by "FB" where it made sense to me. 2007-02-11 09:04:54 +00:00
asfernandes
cec7eaa8b6 Some changes based on Claudio's comments 2007-01-21 15:35:35 +00:00
asfernandes
be9e3a8a84 1) Correction for input parameters
2) Correct message for constraint violation in CAST
3) Display parameter/variable number when there is no debug info
2007-01-17 23:59:23 +00:00
asfernandes
aca179f398 Full domain support and NOT NULL in PSQL 2007-01-17 01:19:01 +00:00
asfernandes
659d23e6ab Report number of concurrent transaction when raising update_conflict 2006-12-17 21:03:41 +00:00
alexpeshkoff
1a4652f01a Trusted authentication for windows 2006-12-08 18:38:15 +00:00
dimitr
b43b43eca9 1) Changed MON$STATEMENTS a bit.
2) Implemented statement cancellation.
2006-12-04 21:36:29 +00:00
asfernandes
ac0f122511 Fixed CORE-997 - Database-Update 1.5 to 2.0 fails 2006-12-01 14:36:12 +00:00
robocop
c466e704c8 For unknown reasons, this generated file wasn't committed. 2006-11-28 08:52:28 +00:00
asfernandes
5e818bd4a9 Rename REPLACE to UPDATE OR INSERT 2006-11-26 15:40:10 +00:00
asfernandes
d168869475 Added RDB$NULL_FLAG and RDB$PARAMETER_MECHANISM to RDB$PROCEDURE_PARAMETERS 2006-11-24 00:25:13 +00:00
robocop
7f2b0cd25d Fix typos in recent messages. 2006-11-10 08:10:56 +00:00
asfernandes
570b6cd4b4 1) CORE-645 and CORE-745: Database triggers
2) CORE-711: Make syntax for "CREATE TRIGGER" compliant with SQL2003
2006-11-05 18:30:36 +00:00
hvlad
05b028628f Replace few hardcoded error messages by new error codes 2006-11-05 10:54:46 +00:00
robocop
fb0cd24854 Put two recent hardcoded messages into the msg db. 2006-11-05 04:01:30 +00:00
dimitr
363ed4b7ba Simplification and fix. 2006-10-31 15:19:13 +00:00
hvlad
58d381edd7 1. Remove blr_src_info code as it is prevents database downgrade from ODS 11.1
2. Put debug information (mapping between blr offset and source line\column and names of local variables) into new blob field RDB$DEBUG_INFO
This is first step to implement native SQL debugger i believe
2006-10-30 20:58:06 +00:00
dimitr
736e1122e7 Win64 adjustments. 2006-10-30 13:04:03 +00:00
dimitr
e4fffd425f 1) Updated monitoring implementation.
2) Cleanup.
2006-10-30 12:39:08 +00:00
robocop
a270d9c440 Put into the msg file several hardcoded messages marked by Arno to be localized. 2006-10-17 06:03:21 +00:00
robocop
28c3d29886 ApiGuide.pdf says a maximum of 16 databases is allowed for a multi-db transaction. However, Ann agrees that a modern new, sensible limit is 256 databases for start_transaction and start_multiple.
Fixed a buffer overrun in jrd.cpp related to this.
2006-10-14 01:29:36 +00:00
robocop
2b27f56428 - Give meaningful message when reaching max group items (255), reported by David Schnepper.
- Misc: more mnemonics for nodes' argument positions.
- Experimental: try to detect conflicting sort options on the same field.
2006-10-07 09:40:59 +00:00
robocop
e0badaed04 Solve problem reported by Bill Oliver in fb-devel: we should complain when someone tries to sort on more than 255 items. 2006-09-30 09:10:28 +00:00
dimitr
7c405166aa 1) Support for client PID in the monitoring data.
2) Changed XNET to return local hostname instead of PID as its remote address.
2006-09-14 13:47:31 +00:00
robocop
af8ecc26ca Solve three problems with arrays:
- Don't allow to apply scalar/subscript syntax to fields that aren't array.
- Detect if we get corrupt database containing array with more than 16 dimensions.
- Reject attempt to subscript array with more than 16 dimensions and thus fix the buffer overrun.
2006-09-10 09:05:40 +00:00
asfernandes
55ec30965d REPLACE statement 2006-09-03 01:09:23 +00:00
robocop
7dab022ddf Prevent users from creating explicit domains that resemble implicit domains because this trick confuses our internal checks:
SQL> create domain rdb$1 int;
Statement failed, SQLCODE = -637
Dynamic SQL Error
-SQL error code = -637
-Implicit domain name RDB$1 not allowed in user created domain
2006-08-31 09:06:15 +00:00
asfernandes
fcac437363 Don't check procedure BLR when it's marked as invalid, to allow restoration of backups with invalid procedures. 2006-08-27 01:09:47 +00:00
dimitr
67e061029f Fixed a small issue noticed by Michal. 2006-08-25 04:51:13 +00:00
asfernandes
b7af27215e Allow usage of domains in PSQL (with TYPE OF syntax) 2006-08-19 02:52:39 +00:00
aafemt
7673a7a491 License added as Adriano requested 2006-08-18 03:46:33 +00:00
aafemt
a4b37f371c Separate header for public constants 2006-08-17 05:58:00 +00:00
aafemt
ea13d58f5f GCC provide inttypes.h even on Win32 2006-08-14 11:37:26 +00:00
asfernandes
144f712c1e Regenerate files 2006-08-07 16:40:49 +00:00
dimitr
00080ab731 More patches for Win64 compatibility. 2006-08-02 05:28:57 +00:00
robocop
bcf2cb8701 1.- COALESCE/CASE and VIA (subqueries) allowed breach in computed field checks (no array and no blob).
2.- Misc: since gbak allows not only to backup metadata only but to restore metadata only (even from a full backup), changed the help message.
2006-07-30 02:59:29 +00:00
robocop
16fdc76d44 Fix wrong gbak verbose messages due to Borland's copy/paste (example: function instead of procedure).
Initialize more sysflags to zero instead of NULL.
2006-07-29 06:01:29 +00:00
robocop
af95e42ef1 Put the manual Windows #defines in the same position as the autoconf's AC_CHECKs for easy visual match. 2006-07-27 09:11:18 +00:00
alexpeshkoff
2d1957bb5e rollback my previous commit, check SIZEOF_LONG correctness 2006-07-26 09:24:53 +00:00
asfernandes
bd8a3216e1 MSVC have limits.h 2006-07-26 01:06:15 +00:00
kkuznetsov
d34f8b80a1 Fix compile error in sort.cpp 2006-07-25 13:03:11 +00:00
alexpeshkoff
c13976d791 Always have correct SIZEOF_LONG 2006-07-25 12:58:07 +00:00
dimitr
f830d925f7 More patches for Win64 compatibility. 2006-07-24 15:42:38 +00:00
robocop
f7b398cec8 Regenerate files after Dmitry's changes. 2006-07-21 01:36:37 +00:00
robocop
64f6eb42a1 Misc. 2006-07-21 01:35:17 +00:00
dimitr
64322e468d Let's workaround the MS' attempt to declare the entire string-handling RTL deprecated.
BTYACC and ICU are still affected by those tons of warning, though.
2006-07-20 06:29:17 +00:00
dimitr
6992f3b904 Reject attempts to select from executable procedures. 2006-07-19 14:50:33 +00:00
dimitr
f1c9466c7f Monitoring, continued. 2006-07-19 05:30:21 +00:00
dimitr
c68587fe66 1. Virtual tables
2. ODS 11.1, procedure type and relation type
2006-07-17 17:44:18 +00:00
robocop
00b890174a Blob sub_types greater than 1 (text) are for our internal ussage. Negative blob sub_types are for users. Stop users from creating columns with blob sub_types beyond. Probably the same check has to be done in DYN. 2006-06-02 08:44:19 +00:00
alexpeshkoff
94c81aaaca removed unneeded STL-based headers 2006-05-23 13:04:49 +00:00
robocop
039ebf4d20 Vlad used the wrong msg number in system_errors.sql: it's 232 instead of 231. Regenerating headers. 2006-05-23 08:54:59 +00:00
alexpeshkoff
2aafa91873 avoid reinterpret_cast in exception's handler 2006-05-22 11:45:19 +00:00
hvlad
1296e18049 Regenerate parser and error codes files (after GTT) 2006-05-21 22:14:38 +00:00
alexpeshkoff
b056a118b5 1. Avoid use of STL
2. Reworked exceptions to make status_exception always hold correct status vector
3. Avoid use of RTTI
2006-05-19 15:17:02 +00:00
dimitr
cebda2b4bf Threading cleanup. More to follow. 2006-05-01 04:43:59 +00:00
alexpeshkoff
469589f573 Use Firebird::Array instead of STL's vector 2006-04-25 17:49:24 +00:00
robocop
192832199f Solve a possible truncation problem due to USHORT<->ULONG issues.
Tweak for embedded so it doesn't crash when handling an error.
2006-04-11 07:16:37 +00:00
dimitr
72a9936fd2 Added new error message. 2006-03-28 09:54:35 +00:00
robocop
e5338ba1ed Only strcmp and strncmp have common names across all plartforms. Cater for differences in strcasecmp/stricmp and strncasecmp/strnicmp. 2006-03-25 07:08:00 +00:00
alexpeshkoff
baa8ede6a8 better support for OS error code in system_call_failed 2006-03-15 17:29:11 +00:00
robocop
f9f26ed891 Sync after Dmitry's changes. 2006-03-08 03:12:01 +00:00
asfernandes
b08ba57248 Move ISC_STATUS_LENGTH and ISC_STATUS_ARRAY to public 2006-03-07 03:11:16 +00:00
robocop
044c5841ad Misc. 2006-02-10 03:28:43 +00:00
kkuznetsov
528f5a4524 Minor fixes big thanks to Alex and Dmitry 2006-02-09 11:00:36 +00:00
kkuznetsov
079d1a2121 Add 2 aligment fixes templates 2006-02-06 08:13:39 +00:00
robocop
fed6653b17 Sync after Vlad's changes. 2006-02-04 04:20:22 +00:00
hvlad
71b04d901c New error message 2006-02-03 17:45:46 +00:00
dimitr
8b20d04a8a 1) An attempt to fix the endianess/alignment issues in the b-tree code.
2) Some adjustments in the pointers management.
2006-01-26 10:45:02 +00:00
robocop
8e7da59fa6 Sync after Dmitry Yemanov's changes. 2006-01-26 07:21:26 +00:00
robocop
7939c5f3d8 Avoid a crash. 2006-01-08 01:11:06 +00:00
alexpeshkoff
64ac449789 avoid vararg constructors in status_exception 2006-01-07 16:50:13 +00:00
robocop
6a3b45e1da Misc. 2005-12-27 08:10:00 +00:00
dimitr
430197c4bd Continued fixing public headers. 2005-12-26 10:31:06 +00:00
robocop
0d4025691a Make sure gmtime_r is marked as missing in Win32. 2005-12-23 23:32:40 +00:00
robocop
2b2e2d5dd0 Const correctness and the like. 2005-12-23 01:42:40 +00:00
robocop
0253028a5d This alternative constructor shouldn't be public, but MSVC6 doesn't obey the private clause if there's another constructor made public. Maybe no compiler does. 2005-12-22 06:22:23 +00:00
aafemt
7470059c2a Move type declarations to appropriate header 2005-12-17 12:55:52 +00:00
dimitr
da625272db More error messages. 2005-12-12 13:56:56 +00:00
dimitr
a909203774 Added new error messages. 2005-12-12 10:51:02 +00:00
dimitr
df8b67d67d Fixed 64bit builds. 2005-12-05 13:42:24 +00:00
dimitr
52abeceb5e Changed location of some defines in order to avoid internals inside ibase.h. 2005-12-05 11:31:45 +00:00
dimitr
96d92682e5 Damn, I'm much sorry. 2005-11-25 05:54:53 +00:00
dimitr
12946de11d Restored the XCPCODE reporting to be compatible with 1.5.
A temporary solution.
2005-10-22 11:09:36 +00:00
dimitr
da3106e9e4 Added new error message. 2005-10-21 09:37:55 +00:00
robocop
860b2f1b9b Try to please the team leader before it's too late.
:-)
We have definitely serious problems with firebird.msg mismatches.
2005-10-20 04:09:40 +00:00
asfernandes
306d4d5f46 Regenerate files 2005-10-13 19:09:04 +00:00
robocop
6ec02b200e Moved another hardcoded error string to the msg database. 2005-10-07 08:52:51 +00:00
robocop
7d304b0fbb Fix SF Bug #1292007
Move some hardcoded error texts to the msg database.
2005-10-06 06:08:10 +00:00
robocop
b69db887fd Totally misc. 2005-09-22 07:09:57 +00:00