dimitr
bcd483d173
This should resolve CORE-3753.
2012-02-09 07:38:51 +00:00
robocop
21cd78a0fd
Cleanup: unused functions, parameters & variables.
2012-01-24 03:37:43 +00:00
asfernandes
b0dfb22eeb
Fixed CORE-3694 - internal Firebird consistency check in query with grouping by subquery+stored procedure+aggregate.
2011-12-08 15:13:28 +00:00
asfernandes
965bf3f159
Fixed the problem with windowed functions in recursive CTEs, reported by Frank Ingermann in fb-devel.
...
This fix is complementary to the one done in CORE-3683.
2011-12-04 18:36:26 +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
asfernandes
5ae632cf0b
Feature CORE-1288 - Sub Procedures.
...
They're very simple for now. No access to parent variables nor to call neighbour procedures.
Tests at http://firebird.cvs.sourceforge.net/viewvc/firebird/fbtcs/GTCS/tests/FB_SQL_SUBPROC_1.output .
2011-10-02 22:11:41 +00:00
asfernandes
893701a5af
Frontport fix for CORE-3489 - Blob transliteration may not happen inside the union.
2011-05-31 01:00:31 +00:00
robocop
82403a5621
Misc, style, etc.
2011-04-02 04:45:26 +00:00
dimitr
82b595ae7e
Misc adjustments.
2011-03-10 08:13:02 +00:00
dimitr
89353af6e5
Fixed the porting mistake, thanks to Adriano.
2011-02-20 15:36:31 +00:00
dimitr
cc71f0835f
Removed duplicated type declaration.
2011-02-20 15:34:08 +00:00
asfernandes
04d971ba3f
Misc
2011-02-20 15:20:16 +00:00
dimitr
676b99ce16
Front ported the old fix for CORE-3283: BAD PLAN with using LEFT OUTER JOIN in SUBSELECT.
2011-02-20 14:43:46 +00:00
dimitr
e78cf74c83
Fixed CORE-3176: View with "subselect" column join table and not use index.
2011-02-20 13:23:36 +00:00
asfernandes
5573581488
Refactored nod_alias.
2011-02-17 14:25:56 +00:00
dimitr
4d2f09c8f0
Cleaned up the unused (since FB2) parameter.
2011-02-12 14:13:40 +00:00
asfernandes
1388655673
Fixed CORE-3255 - The server could crash using views with GROUP BY.
2011-02-06 21:59:20 +00:00
dimitr
392bfbc0ef
Warnings.
2011-02-06 19:34:43 +00:00
asfernandes
bf77761d84
Fixed CORE-3310 - RDB$GET_CONTEXT and between in view.
...
Fixed CORE-3338 - Some expression indexes with COALESCE, CASE and DECODE became inoperant.
Removed DSQL hidden variables expressions.
Refactored COALESCE, DECODE and (simple) CASE, using new BLR verbs.
Fixed v3 regression with UPDATE OR INSERT inside PROCEDURE/FUNCTION.
Fixed assert with DECODE/CASE with only test parameters and no values.
2011-02-06 18:13:12 +00:00
asfernandes
f27d60369e
Refactor nod_relation_name and nod_rel_proc_name.
2011-01-30 00:25:46 +00:00
asfernandes
ccaaca7c72
Misc
2011-01-29 17:24:29 +00:00
dimitr
e0f5a68da0
More work on enlarging the message buffers. To be continued.
2011-01-28 18:50:27 +00:00
asfernandes
f0586b01eb
Refactor DSQL's nod_join and nod_union.
2011-01-22 20:40:04 +00:00
asfernandes
1a2710c153
Fix recursive query with ORDER BY.
...
It was broken since Aug-2010 with commit "Refactor nod_rse, nod_relation,
nod_procedure, nod_union, nod_aggregate and nod_window."
2011-01-21 15:06:26 +00:00
asfernandes
123aa675ab
Refactor nod_aggregate, nod_relation, nod_rse, nod_derived_table, nod_query_spec and nod_limit
2011-01-09 21:58:56 +00:00
asfernandes
6bdd01e49a
Missing pass1 on procedure message, seen by Claudio - not relevant currently, but do it as before.
2010-12-12 20:45:52 +00:00
asfernandes
9c42d4e5af
Finish the statements refactor in the engine. Get rid of jrd_nod.
2010-12-04 22:15:03 +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
asfernandes
4dea3a42a1
Remove dependency of jrd_nod in ExprNode
2010-11-14 22:31:42 +00:00
asfernandes
3eb252ec5f
Refactored DSQL nodes: nod_derived_field, nod_map, nod_dbkey and nod_rec_version.
...
Refactored JRD nodes: blr_field (JRD side only), blr_dbkey, blr_record_version and blr_stmt_expr.
2010-11-14 17:25:48 +00:00
asfernandes
f3277d0775
Fixed CORE-3211 - String truncation occurs when selecting from a view containing NOT IN inside
2010-11-04 01:03:40 +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
1c0a683249
More lost files
2010-10-13 05:50:53 +00:00
alexpeshkoff
2dc25a44bb
OSRI and new posix build
2010-10-12 08:02:57 +00:00
asfernandes
b49391c8d0
Misc
2010-09-25 23:08:18 +00:00
robocop
98a2c6822d
Warnings.
2010-09-24 09:53:51 +00:00
robocop
c7abd52cea
Misc.
2010-09-24 09:23:12 +00:00
asfernandes
bbd048fede
Make refactored code match original one, as see by Claudio.
...
The affected code is something that never executes.
2010-09-23 15:22:44 +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
c1b5abfdf2
1) Refactor all types of boolean nodes.
...
2) Remove the scratch from the nodes.
2010-09-17 03:15:32 +00:00
asfernandes
6b261f1b81
Misc
2010-08-31 00:12:20 +00:00
asfernandes
8f857a6deb
Refactor plan nodes to PlanNode
2010-08-29 20:20:19 +00:00
asfernandes
96f2829728
Refactor nod_map and nod_sort to type-safe MapNode and SortNode
2010-08-29 18:20:44 +00:00
asfernandes
588c545d17
Rework WindowSourceNode to use type-safe partitions
2010-08-25 15:52:46 +00:00
asfernandes
53d7b386fa
Move dozen of parameters of virtual/overriden function to OptimizerBlk
2010-08-25 03:10:12 +00:00
asfernandes
7eb5bb0ae3
Misc
2010-08-25 01:35:33 +00:00
asfernandes
0497251edd
Remove do-nothing checks from the new file
2010-08-25 01:01:22 +00:00
asfernandes
48d83b8fef
Refactor nod_rse, nod_relation, nod_procedure, nod_union, nod_aggregate and nod_window.
2010-08-24 03:25:01 +00:00