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

43 Commits

Author SHA1 Message Date
dimitr
7eded400e8 Let's clearly distinguish between deterministic and invariant functions, they're not the same thing actually. Runtime optimization usage is to be re-considered, if necessary.
Warning: this includes an ODS change, please boot-build.
2010-11-13 15:03:44 +00:00
dimitr
0d0c7be57a Implemented support for deterministic (invariant) functions. 2010-11-13 08:56:15 +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
dimitr
df245ba88e Fixed problems with recursive PSQL functions. Minor refactoring. 2010-10-08 09:40:14 +00:00
asfernandes
9b8171d5c1 1) Refactor nod_value_if.
2) Created ExprNode::expressionEqual method to replace a new big and ugly switch.
3) Make boolean referencers use BoolExprNode instead of jrd_nod, except nod_validate for now. This includes BinaryBoolNode and NotBoolNode working without jrd_nod references.
4) Rework in the impure allocation code (replace "csb_impure += ..." by CMP_impure calls).
2010-09-20 16:07:50 +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
0c47a04538 1) Use RAII with the non-cached requests.
2) Change GPRE generated code to something that fits the future SMP-aware engine, replacing calls of "request = CMP_compile2(...)" by "request.compile(...)". Boot build required.
2010-04-19 22:49:18 +00:00
asfernandes
4763533669 Refactor jrd_req into JrdStatement (shared part) and jrd_req (execution of a statement).
Fixed some bugs found in the way.
2010-04-18 22:19:11 +00:00
asfernandes
39498cb65b Use AutoCacheRequest in all cacheable system requests. Fixes some request leakages. 2010-04-18 15:04:52 +00:00
asfernandes
b36b9764ce Misc 2010-04-16 02:31:36 +00:00
dimitr
aa287ffd9f Fixed the NULL handling. 2010-04-15 11:46:42 +00:00
dimitr
3269c73d06 Optimization: allocate the messages during prepare time rather than runtime.
Also, fixed one bug in the parameter handling for PSQL functions.
2010-04-15 11:07:05 +00:00
dimitr
307c3be080 Fixed evaluation of default arguments for PSQL (and, supposedly, external) functions.
Improved error handling.
2010-04-14 09:45:27 +00:00
dimitr
6d2143793f Fixed the scope. Csb must die before the pool it was allocated from. 2010-04-14 04:39:36 +00:00
asfernandes
edb4af722d Correction 2010-04-13 23:01:41 +00:00
dimitr
17396178ac Simplification inspired by Vlad's commit for procedures. 2010-04-13 14:48:37 +00:00
dimitr
871ffb24d3 Extending the message size limit from 64K to 4G. First stage. 2010-04-08 11:14:57 +00:00
robocop
ac551e2b71 Cleanup. 2010-04-04 08:52:10 +00:00
asfernandes
e1ba33a2ae Fix problem of the system transaction storing pointer to random or already deallocated attachment. Full build (or kind of) required. 2010-04-02 21:48:15 +00:00
robocop
446097fe8e Be explicit, change "qualifier" to "package" in QualifiedName (needed anyway if/when schemas are added). 2010-01-27 04:32:27 +00:00
asfernandes
a5ab8a2b33 Make referencing and execution (try) of unimplemented packaged routines work correctly 2009-12-31 11:24:28 +00:00
asfernandes
0057047932 Misc 2009-12-30 00:50:39 +00:00
asfernandes
ab25c33244 Make packaged functions work 2009-12-28 01:06:40 +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
fe7ae882b2 Check. 2009-12-26 13:23:29 +00:00
asfernandes
534b8c020e Misc 2009-12-25 19:29:58 +00:00
dimitr
68f9066a51 Misc. 2009-12-25 15:37:24 +00:00
dimitr
e07921cc2f PSQL functions (support for default parameters). 2009-12-25 14:37:44 +00:00
dimitr
ef9d35de1c Misc. 2009-12-25 11:24:34 +00:00
dimitr
b58a16411f Now PSQL functions should start [basically] working. 2009-12-25 11:15:13 +00:00
dimitr
dae4d855d4 Correction. 2009-12-25 07:26:50 +00:00
dimitr
7f4bb8c418 Misc. 2009-12-25 07:26:49 +00:00
dimitr
18ed3075f1 I believe this code has been originally intended to work this way. 2009-12-25 07:09:02 +00:00
dimitr
c5326232e0 Corrections. 2009-12-25 06:52:09 +00:00
dimitr
6e1f8db753 Metadata cache support for PSQL functions. 2009-12-24 14:15:21 +00:00
robocop
0564019d2f Misc and cleanup. 2009-12-24 11:48:17 +00:00
asfernandes
dd6331f002 Some fixes; Misc. 2009-12-22 00:08:49 +00:00
asfernandes
bc0cfcd584 1) Make it build in Linux; 2) Fix some warnings 2009-12-21 20:55:07 +00:00
dimitr
6afd92f854 Support for PSQL functions (other JRD changes). Still work in progress. 2009-12-21 17:53:49 +00:00