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

646 Commits

Author SHA1 Message Date
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
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
hvlad
bc9ad95c82 Fixed bug CORE-2731 : Recursive EXECUTE STATEMENT works wrong 2009-11-05 22:42:46 +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
verbguy
1d9a25d825 improved fix from Adriano for ibase.h woes 2009-11-04 02:11:07 +00:00
verbguy
d67ba89735 fix Sun Studio build 2009-11-03 16:00:07 +00:00
robocop
5ed1680699 Misc. 2009-11-03 07:36:20 +00:00
asfernandes
2e32ff0ed3 Fix build with a clean checkout 2009-11-02 03:01:49 +00:00
robocop
b304b96224 Misc. 2009-10-30 10:43:42 +00:00
asfernandes
2bd4e4fa63 Fix boot build and regenerate file in Linux 2009-10-24 01:55:55 +00:00
asfernandes
3fd4ee50da Fix number conflict found by Claudio 2009-10-22 10:01: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
fbda7f245e Fixed CORE-2439: Add FIX_FSS_DATA and FIX_FSS_METADATA into the server 2009-10-05 10:26:59 +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
e08eddc692 Missing MSVC part for CORE-2601 2009-09-11 13:10:22 +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
alexpeshkoff
404f2b7c0b Avoid suspicious ctor according to Claudio's request 2009-09-01 10:36:30 +00:00
alexpeshkoff
9629eafccd Use per-thread circular strings buffers instead common and per-attachment combination 2009-09-01 09:20:24 +00:00
asfernandes
8c0b380fac Misc 2009-08-27 02:19:36 +00:00
alexpeshkoff
9a325bd8b5 Avoid need in StringsBuffer when processing serious system errors 2009-08-26 13:08:54 +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
robocop
d9af0e265b Fix strange indentation. 2009-08-20 06:12:17 +00:00
dimitr
4262ee12fc Warnings. 2009-08-19 18:00:13 +00:00
hvlad
440d3f9aee Updated generated headers 2009-08-08 12:42:32 +00:00
robocop
13a05476e7 CORE-2582 Infinity from UDF should be trapped by the engine (and NaN as well). 2009-08-07 07:27:33 +00:00
dimitr
db07da4f28 Need sizeof(size_t) to correctly define format in common.h 2009-08-04 10:39:57 +00:00
asfernandes
28a7e4c037 Misc 2009-07-24 02:15:07 +00:00
alexpeshkoff
440fad4858 HPUX port by Bill Oliver and Jerry Adair 2009-07-23 08:58:26 +00:00
asfernandes
6377356940 Misc 2009-07-23 00:56:28 +00:00
paulbeach
00af06a82f And the long march to making Firebird build and run on MacOSX continues 2009-07-21 13:59:45 +00:00
alexpeshkoff
4506ae61bc Solaris 9 patch from SAS 2009-07-21 08:58:28 +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
robocop
f10e1b72eb Style. 2009-06-27 06:23:36 +00:00
robocop
ce9a9baf08 Validations (do not crash). 2009-06-21 11:16:24 +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
asfernandes
cb40c9f8ba Apply Alex/Bill/Jerry/me patch re. portability in redefinition of operator new 2009-06-13 16:36:10 +00:00
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