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

677 Commits

Author SHA1 Message Date
asfernandes
d3ac9ac6cc More refactoring: name changes, accessors, consts, removed not good references (statement referencing scratch and metadata indirectly) 2009-12-23 00:57:08 +00:00
dimitr
54b9459117 Support for PSQL functions. 2009-12-21 16:48:06 +00:00
dimitr
df3d4508d0 Error codes introduced for PSQL functions. 2009-12-21 16:38:49 +00:00
dimitr
fd6c858ba7 New system fields (ODS change). 2009-12-21 16:36:39 +00:00
alexpeshkoff
0b0650370a Fixed error reporting in nbackup 2009-12-21 11:58:29 +00:00
asfernandes
20ed875d57 Replaced linked list of dsql parameters by array 2009-12-19 18:50:38 +00:00
robocop
c5c03c06c3 Correction (worked thanks to legacy-aware code). 2009-12-19 09:03:07 +00:00
alexpeshkoff
3d7a990876 Frontported detection of missing/invalid parameter in fbsvcmgr 2009-12-18 14:15:26 +00:00
alexpeshkoff
f2753b7e86 Frontported changes to make -Direct switch of nbackup accept on/off parameter 2009-12-18 14:06:28 +00:00
robocop
30eee9c993 Move more hardcoded messages to the msg db. 2009-12-18 12:01:44 +00:00
robocop
5f7d45be9b Make more error messages non-hardcoded. 2009-12-17 10:50:40 +00:00
alexpeshkoff
1bb19c721d Added switch to nbackup, controlling direct access to database file 2009-12-16 17:28:52 +00:00
alexpeshkoff
c569345201 Some more changes suggested by Claudio 2009-12-16 13:40:26 +00:00
alexpeshkoff
3b95a6b5b4 Fixed an issue with gsec compatibility with previous versions 2009-12-16 11:25:50 +00:00
alexpeshkoff
2ecf08fa75 Forgotten file? 2009-12-16 11:19:46 +00:00
robocop
363ebe834b Localization: one needed message and two messages to be used. 2009-12-16 08:12:59 +00:00
robocop
465c88570e Make views know exactly what type of source their fields have: include a type of context and a package name in rdb$view_relations. Debugged with a small script.
To be reviewed & completed by Adriano.
Full rebuild, please.
2009-12-15 14:08:28 +00:00
robocop
00c5d74904 Cleanup. 2009-12-13 13:49:43 +00:00
robocop
886f385c73 Applying the vacuum cleaner to this header. 2009-12-13 10:56:15 +00:00
asfernandes
b1de816d6a Misc 2009-12-12 20:56:12 +00:00
robocop
f1e70cd821 Do not hardcode anymore the backup versions allowed. 2009-12-10 07:24:18 +00:00
dimitr
11495a55fb Refactored the whole RSB stuff into classes. They're inside the /recsrc sub-directory now.
Fixed the layering for WITH LOCK and (partially) ANY/ALL predicates.
Cleaned up the outdated code that never worked (mapping DISTINCT to an index, some VMS remainings).
Wiped out a lot of the pre-ODS11 optimizer logic. Some minor adjustments there.
Re-implemented the full outer join from scratch. This resolves CORE-2678 (full outer join cannot use available indices).
Resolved CORE-2796: DB_KEY is always zero for external tables.
Implemented the core part of the scrollable PSQL cursors. Implementation is still incomplete, but ready for testing.
Some other changes I don't recall at the moment ;-)

WARNING! The engine may be unstable. Please email me about any issues found.
2009-12-09 18:45:44 +00:00
alexpeshkoff
66e980a1f2 Frontported fixed of bugs, found during 2.5.0.RC1 QA - incorrect message when lockdir is not accessible; broken yValve behavior when lockdir is not accessible; bad access rights on lockdir in init.d startup scripts 2009-12-08 15:02:09 +00:00
alexpeshkoff
34d79c9c3f Fixed CORE-2728: Access Violation when trying to add an user that already exists 2009-11-30 12:10:47 +00:00
robocop
8ac7971dc2 - Firebird does not use runtime licences.
- Client for DOS has not been seen for more time than I care to count.
2009-11-29 08:36:02 +00:00
asfernandes
3f5aded4e3 Misc 2009-11-28 01:44:42 +00:00
alexpeshkoff
751c8f6c61 cleanup 2009-11-26 16:01:17 +00:00
robocop
b66d6d9f64 Harmless warnings, but anyway... 2009-11-25 08:32:11 +00:00
robocop
0411da9f59 Related to CORE-2759 (but doesn't fix it yet). 2009-11-20 04:53:15 +00:00
asfernandes
59a21a1f8c Improvement CORE-2754 - Hint the user about -FIX_FSS_METADATA and -FIX_FSS_DATA when restore fail with malformed string error 2009-11-19 13:21:59 +00:00
asfernandes
c3ae6a708b Create new message recommended by Claudio 2009-11-17 14:22:16 +00:00
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