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

335 Commits

Author SHA1 Message Date
asfernandes
aeef076e58 Fixed CORE-1690 - Arithmetic exception, numeric overflow, or string truncation in utf8 tables 2008-08-23 03:23:44 +00:00
dimitr
a903e9357b Cleanup. 2008-07-11 07:50:46 +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
asfernandes
5057e57065 Fixed CORE-1982 - Simultaneous backups or restores could interfere each with other using the services API 2008-07-08 15:32:42 +00:00
asfernandes
552f58dd48 Misc 2008-06-06 02:25:35 +00:00
robocop
b8ea332022 Misc. 2008-06-05 11:02:42 +00:00
robocop
ffe94c28c2 Misc and fix possible little B.O. in grant_revoke_privileges(). 2008-06-05 10:57:38 +00:00
robocop
a1906d634f Style. 2008-06-03 06:19:50 +00:00
robocop
07c087094d Mostly remove useless parentheses. 2008-06-03 06:14:59 +00:00
sboyd
8bfcc680c6 Fixes to allow embedded SQL to work properly in RM/Cobol programs which use the CANCEL verb. This entailed:
- added RELEASE_REQUESTS FOR <dbname> as an embedded SQL command as well as QLI

- changed the RM/Cobol code generator to use isc_compile_request rather than isc_compile_request2

- changed the RM/Cobol code generator to use isc_dsql_allocate_statement rather than isc_dsql_alloc_statement2

As a result of this change RM/Cobol programs will have clean up their handles by issuing a RELEASE_REQUESTS call before exiting a subprogram using the EXIT PROGRAM verb.
2008-05-29 19:20:57 +00:00
sboyd
c05536e155 Added an entry point for isc_dsql_allocate_statement 2008-05-29 19:10:17 +00:00
alexpeshkoff
b9be96d37f Applied Damyan's patch eliminating some warnings in gcc 4.3 2008-05-28 13:22:26 +00:00
robocop
5777ff76fa More VC6 cleanup. 2008-05-14 13:11:41 +00:00
alexpeshkoff
773ed9d5af Fixed AV 2008-03-24 14:40:12 +00:00
robocop
2b33eae4d1 Minimize casts. 2008-03-10 08:31:35 +00:00
asfernandes
bc9ae27d0a Generate named structs in GPRE to not have a lot of warnings in GCC 2008-02-17 15:47:43 +00:00
sboyd
0b6c98af54 Changed the option for calls to isc_dsql_free_statement from DSQL_close to DSQL_drop. This allows cursors used in separately compiled subprograms which are CALLed and subsequently CANCELed to function properly. Failure to use DSQL_drop resulted in -502 errors. 2008-02-10 17:33:37 +00:00
asfernandes
b39ac40c9d Misc 2008-02-03 02:32:39 +00:00
robocop
0d1985d1f0 Misc, explicit constructors, extra commas in enumerations, constness, etc. 2008-02-02 16:57:15 +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
dimitr
e50e8e298c The merge is being fixed. 2008-01-16 11:41:25 +00:00
dimitr
17e5267603 The merge continued. 2008-01-16 07:15:01 +00:00
asfernandes
54b36766c0 Misc 2007-11-17 00:38:16 +00:00
paulbeach
c823619e92 HPUX Port 2007-11-12 15:18:49 +00:00
paulbeach
7602a29b94 HPUX Port 2007-11-12 14:26:44 +00:00
robocop
1ea2f4b014 Misc. 2007-10-02 10:41:19 +00:00
dimitr
b072b29f77 Fixed a GPRE regression reported by Alex. 2007-09-26 19:19:35 +00:00
robocop
64bfb9e026 Commit fix from Stephen Boyd for his RMCOBOL interface library. 2007-08-29 10:02:42 +00:00
alexpeshkoff
d3fbea6a6a Absolutely no reasons to have it non-const here 2007-08-14 10:15:23 +00:00
asfernandes
613faffafb Misc 2007-08-02 02:00:37 +00:00
robocop
669b9c550a Commit GPRE enhancements on behalf of Stephen Boyd.
This batch of changes includes:
- Support for FIRST/SKIP clauses
- Support for CURRENT_CONNECTION, CURRENT_ROLE, CURRENT_TRANSACTION and CURRENT_USER context variables
- Changed the BLR generated for RM/Cobol programs to use blr_cstring
rather than blr_text so that CHAR and VARCHAR fields are not written
as "fixed length" fields from Cobol programs.  Incoming CHAR and
VARCHAR fields are right filled with spaces inbound to the Cobol
program and stripped of trailing spaces outbound.
2007-07-29 07:30:42 +00:00
asfernandes
1abbbc6f89 Misc 2007-06-01 16:05:02 +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
alexpeshkoff
f0d465bf34 Fixed gcc warnings, general (un)signed usage cleanup 2007-04-11 09:28:50 +00:00
alexpeshkoff
1932c8f4e7 added switch -trusted to most of firebird utilities 2007-04-07 08:47:58 +00:00
robocop
93fd88772a Get rid of the $ symbol in var names. 2007-04-01 13:04:13 +00:00
robocop
df9303f869 Commit changes on behalf of Stephen Boyd to support RM/Cobol. At least for me, I needed a full rebuild to avoid gpre crashing in the boot phase. 2007-03-29 07:16:16 +00:00
robocop
81145566a8 More IB->FB changes. 2007-02-11 09:31:45 +00:00
robocop
2237b9c55a Misc. 2007-02-11 09:23:32 +00:00
robocop
409ff041dd Misc and replaced "IB" by "FB" where it made sense to me. 2007-02-11 09:04:54 +00:00
robocop
6ab34bd394 Patch by Stephen Boyd: he found a small bug in the RM/Cobol support in GPRE he did months ago. It wasn't generating the code for EVENT INIT and EVENT WAIT statements properly. 2007-02-03 10:40:15 +00:00
asfernandes
40698ea38c Misc 2006-11-11 02:47:08 +00:00
robocop
3b1a4a0dbe Commit source changes by Stephen Boyd to support RM Cobol.
COBOL support (rmc) and additional interface library (fbrmclib).
2006-11-10 07:52:52 +00:00
robocop
f40512506b Commit source changes by Stephen Boyd to support RM Cobol. 2006-11-10 07:50:13 +00:00
robocop
8e7e781e5f Partial commit with some cleanup and more constants. 2006-10-10 06:41:36 +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
dimitr
869d92f034 Let's not rely on ISC_STATUS being always long. This is false for Win64. 2006-07-24 14:41:10 +00:00
dimitr
6b6ba903e4 Forward declaration of enums is not allowed in the C++ language, even although being supported by MSVC.
This commit should fix GCC compilation problems.
2006-07-21 07:53:18 +00:00
asfernandes
ea0435247a Misc 2006-07-18 02:45:35 +00:00