dimitr
a672c012ad
Fixed the NULL handling for MIN/MAX mapped to an index.
...
Adriano, please review and rework, if necessary.
2011-03-05 17:28:37 +00:00
asfernandes
1388655673
Fixed CORE-3255 - The server could crash using views with GROUP BY.
2011-02-06 21:59:20 +00:00
asfernandes
187d556f2a
Fix problem with COUNT in dialect 1.
2011-02-05 01:49:44 +00:00
asfernandes
dd5c763459
Misc
2011-02-05 00:04:19 +00:00
dimitr
00c415ef8e
Fixed CORE-2957: count(*) from big table returns negative result.
2011-02-03 07:36:01 +00:00
dimitr
5b0b9070d9
Fixed CORE-1619: Some aggregate functions doesn't support NULL-constant in 3-d dialect.
2011-02-02 13:11:54 +00:00
dimitr
46b8ec1e14
Fixed CORE-3302: Distinct aggregates return wrong (duplicated) data.
2011-01-07 11:32:45 +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
695406060d
Cleanup: removed thisNode parameter from make and setParameterType methods
2010-11-07 03:03:41 +00:00
asfernandes
51f4b27991
Simplify the internal "null replacement" logic
2010-11-01 00:42:12 +00:00
alexpeshkoff
e05c1a825f
Moved some more .h-files to common from jrd as Vlad suggested
2010-10-13 10:39:52 +00:00
asfernandes
4d00fec2d6
Refactor parameters and GEN_ID.
2010-10-09 01:57:37 +00:00
robocop
98a2c6822d
Warnings.
2010-09-24 09:53:51 +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
b7b63becf3
Refactor a number of expression nodes: nod_add, nod_divide, nod_multiply, nod_negate, nod_user_name, nod_subtract, nod_current_date, nod_current_time, nod_current_timestamp, nod_add2, nod_subtract2, nod_multiply2, nod_divide2, nod_current_role, nod_internal_info
2010-09-04 21:36:41 +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
75af3ccf65
Misc/cleanup
2010-06-22 00:53:35 +00:00
asfernandes
12079f5ece
Created class BlrWriter and reorganization (move BLR generation from statement to scratch)
2010-06-17 01:18:40 +00:00
asfernandes
68b5c1df6f
Cleanup
2010-04-07 16:32:12 +00:00
asfernandes
d515370b9d
Thread safety: do not write in request shared place during execution.
2010-04-07 15:31:32 +00:00
asfernandes
5ac2130415
Cleanup - switch from pointer arithmetics to sane way to get impure places
2010-04-05 21:20:08 +00:00
dimitr
63bedffa71
Refactored the sorter into a proper class.
...
Removed some dead code and unused files.
2010-03-16 11:19:29 +00:00
asfernandes
2097e9a485
Fixed some inconsistencies with aggregate functions with more than one parameter
2010-02-18 16:55:38 +00:00
asfernandes
a6bd7851e8
Misc and fix per Claudio comments
2010-02-16 21:16:21 +00:00
robocop
835750a54c
Misc.
2010-02-16 08:53:31 +00:00
asfernandes
01f6e290fd
Misc
2010-02-15 00:43:04 +00:00
asfernandes
d3c0e1971a
1) Feature CORE-2830 - Window functions: DENSE_RANK, RANK and ROW_NUMBER
...
2) Fix BLR filter for some procedure verbs
2010-02-14 19:08:22 +00:00
asfernandes
c737d6a807
Create ExprNode class hierarchy.
...
Convert CONCATENATE and aggregate functions to it.
Fix some bugs:
- select sum(n) over (order by n2), sum(n) over (), n, n2 from x1;
- select (select 1 from x1 b where list(1, a.n) = 1) from x1 a;
2010-02-13 20:29:29 +00:00