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

163 Commits

Author SHA1 Message Date
asfernandes
91f3944eae Improvement CORE-4047 - Increase number of input parameters for External Functions (UDFs) to 15. 2013-02-25 02:54:14 +00:00
alexpeshkoff
c7454a49a5 Work in progress (committed due to SF upgrade). Checked only on SS.
1. Frontported fix for CORE-3935 and CORE-3993.
2. Added debugging support for mutexes and rwlocks in Vulcan style.
Unfortunately after last 'svn up' build asserts in JrdStatement:71.
2012-12-14 17:59:02 +00:00
alexpeshkoff
4e795f4047 Include platform definitions file common.h in firebird.h. Use OS-specific ThreadId instead artificial FB_THREAD_ID, avoiding unneeded casts in the code. This should fix BSD and MAC ports. 2012-03-01 08:55:43 +00:00
robocop
0b5ee78cb7 Make more members of blb private. 2012-02-15 07:13:41 +00:00
robocop
eed418a89e Make blb resemble more a class: private data members, convert some functions into methods, add methods with code that was in other files, etc. 2012-02-15 03:34:21 +00:00
robocop
186c817caa Playing with fire: converting some static functions into member functions. I tried to check every change I did. 2012-02-07 03:17:52 +00:00
robocop
21cd78a0fd Cleanup: unused functions, parameters & variables. 2012-01-24 03:37:43 +00:00
asfernandes
c627005a89 Feature CORE-3626 - Subfunctions in PSQL and EXECUTE BLOCK.
Tests at http://firebird.cvs.sourceforge.net/viewvc/firebird/fbtcs/GTCS/tests/FB_SQL_SUBFUNC_1.output.

Also did:
- Refactor to share more code/data between procedures and functions.
- Fixed some PSQL functions problems.
2011-10-16 20:36:07 +00:00
hvlad
fef1f49c94 Shared page cache implementation 2011-05-09 10:15:19 +00:00
asfernandes
0193d90f6c Fix definition and usages of fb_assert. 2011-02-26 16:03:36 +00:00
asfernandes
c9ec26c0c3 Feature CORE-726 - Boolean data type 2010-12-18 02:17:06 +00:00
asfernandes
a3064848d6 Make ExprNodes and RecordSourceNodes reference others directly instead of via jrd_nod.
Store ValueExprNodes instead of jrd_nod in the metadata cache.
Make RecordSourceNode child of ExprNode as they share most operations.
Get rid of the JRD visitors in favor of direct calls.
Convert assignments statement lists created inside expressions to separate source and targets ValuesExprNodes.
2010-11-21 03:47:29 +00:00
alexpeshkoff
e05c1a825f Moved some more .h-files to common from jrd as Vlad suggested 2010-10-13 10:39:52 +00:00
alexpeshkoff
83d6a2f88c Restored a lot of changes, rolled back by me unintentionally 2010-10-12 11:36:51 +00:00
alexpeshkoff
2dc25a44bb OSRI and new posix build 2010-10-12 08:02:57 +00:00
asfernandes
8047048dc4 Misc 2010-08-26 15:40:51 +00:00
asfernandes
dadc0f560c Const correction for EVL, EXE and they subsystems. Adjustments to CMP and OPT. 2010-08-09 15:48:51 +00:00
asfernandes
e37d097240 Misc 2010-05-22 02:00:45 +00:00
robocop
3060500d76 Misc. 2010-05-21 09:18:38 +00:00
alexpeshkoff
ea1b1843d8 Cleaned up macro BOOT_BUILD, boot ObjModuleType in posix build and a lot of related steps in posix build 2010-05-18 13:32:30 +00:00
dimitr
eadb960eda Fixed CORE-2914: Server crashes while restoring a database having an expression index referencing a non-existent UDF. 2010-03-10 18:40:21 +00:00
alexpeshkoff
e5017f1a12 Extend format of firebird configuration file with a set of additional parameters for any parameter.
Use traditional firebird configuration files format in all places (intl, trace, etc.).
Add per-database configuration facility to aliases.conf (currently 15 parameters from firebird.conf).
2010-02-28 18:00:51 +00:00
asfernandes
d8c99a9be2 1) Make procedures and functions member of the same hierarchy (Routine class)
2) Some completion for external functions
2009-12-27 22:05:22 +00:00
asfernandes
8f19a2b7e1 Consts 2009-12-27 19:05:38 +00:00
robocop
06a4224d0b Put class Attachment in its own files by brute force. 2009-12-25 09:55:05 +00:00
dimitr
debe65bcfb Support for PSQL functions (other JRD changes). Still work in progress. 2009-12-21 17:43:01 +00:00
dimitr
cc8794d02f Cleanup. 2009-12-15 12:25:44 +00:00
robocop
d8a012014b Comments. 2009-11-27 08:34:34 +00:00
verbguy
d62a5ee8ef more 64-bit sign extension and truncation warnings. Claudio reviewed already. 2009-11-19 19:27:21 +00:00
robocop
b02d70c8fd Use correct English. 2009-11-06 05:27:22 +00:00
asfernandes
530f0eed0f Fix some original problems and others done in merges, thanks to Claudio 2009-10-26 14:48:21 +00:00
asfernandes
dc5edd5aed Misc 2009-10-23 00:42:40 +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
asfernandes
9c1918d39b Misc 2009-10-15 02:15:31 +00:00
robocop
cf10c95c5c Totally misc. 2009-10-14 10:22:12 +00:00
hvlad
22e774ec98 Correct order of searching for ib_util.dll 2009-10-14 08:59:12 +00:00
asfernandes
c34a508256 Misc 2009-09-12 01:34:26 +00:00
alexpeshkoff
60a115efc2 Fixed CORE-2601: fine tuning of the installation directories does not work in configure 2009-09-11 10:49:46 +00:00
asfernandes
4150796a62 Document the strange code in-place so its reason could be remembered in a month 2009-09-07 02:55:58 +00:00
robocop
5af22f7a4f This strange code is to ensure that read blobs that cannot be closed normally are ignored by the destructor, but if the created (write) blob cannot be closed normally, it will be cancelled by the destructor of OwnedBlobStack (previously it was ignored because the pop() happened always before the close() call). 2009-09-06 06:36:50 +00:00
robocop
b22b7dc25e CORE-2582 Infinity from UDF should be trapped by the engine (and NaN as well). 2009-08-07 05:22:04 +00:00
alexpeshkoff
fe4aec8a12 Fixed CORE-2550: Bus error when working with DB_KEY on bigendian machines. Introduced dtype_dbkey inside engine. 2009-07-09 14:04:42 +00:00
asfernandes
5dda9c1677 Misc 2009-06-27 03:03:56 +00:00
robocop
5dadf14ad0 Small cleanup. 2009-06-26 10:19:49 +00:00
alexpeshkoff
220e95d8c2 Mac port - use correct full name for libib_util 2009-06-09 13:56:22 +00:00
robocop
2d7cb94844 Unused params
Some BLR checks
2009-04-28 13:08:04 +00:00
robocop
bea3796d8b Totally misc. 2009-02-10 13:30:49 +00:00
asfernandes
628eb5b557 Misc 2009-02-09 01:43:49 +00:00
alexpeshkoff
b08827f721 Use getInstallDirectory() to locate libibutil 2009-02-08 13:27:46 +00:00
robocop
f4ec6b3be2 Misc. 2009-02-08 12:44:01 +00:00