alexpeshkoff
2dc25a44bb
OSRI and new posix build
2010-10-12 08:02:57 +00:00
asfernandes
ac3c00d503
1) Refactored LOWER, UPPER and TRIM.
...
2) Fixed CORE-3174 - Expression index with TRIM may lead to incorrect indexed lookup
2010-10-09 18:39:45 +00:00
asfernandes
4d00fec2d6
Refactor parameters and GEN_ID.
2010-10-09 01:57:37 +00:00
asfernandes
1f8342a3a1
Fixed CORE-3141 - The last column in a view is returning as a null value even when it's not
2010-09-25 20:19:43 +00:00
asfernandes
0eb26b8e97
Misc
2010-09-20 16:26:25 +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
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
96f2829728
Refactor nod_map and nod_sort to type-safe MapNode and SortNode
2010-08-29 18:20:44 +00:00
dimitr
f1b959694c
Fixed the engine crash caused by the recent refactoring.
2010-08-28 08:52:37 +00:00
dimitr
e7c44824e6
Fixed a few suspicious places related to the variable cloning.
2010-08-25 08:02:21 +00:00
asfernandes
e736c7d15c
Misc
2010-08-25 00:42:17 +00:00
asfernandes
0ce8cb6f2f
Correction
2010-08-24 16:26:20 +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
asfernandes
18a6a6b4f9
More consts
2010-08-13 15:22:00 +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
7adb129d37
Frontport fix for CORE-3094 - Parameters doesn't work with NOT IN from a selectable procedure
2010-08-04 15:50:26 +00:00
alexpeshkoff
f28f040e0f
Fixed CORE-3024: Error "no current record for fetch operation" after ALTER VIEW (and a lot of other possible inconsistencies)
2010-06-15 12:27:33 +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
dimitr
3c0def2549
I believe this limit should also be unconditional.
2010-04-15 18:09:50 +00:00
dimitr
4c86c50c11
Misc.
2010-04-15 16:12:39 +00:00
dimitr
1e2edd445d
Reworked the rsb/cursor logic a bit. Now I don't think sub-queries should be cursors.
2010-04-15 16:10:51 +00:00
alexpeshkoff
88b8a40a04
1. Cleaned up most of SUPERSERVER usage.
...
SUPERSERVER has 4 different meanings in our code:
- this is milticlient server (replaced with Config::getMultiClientServer())
- use shared data cache (replaced with Config::getSharedCache())
- use shared metadata cache (replaced with macro SHARED_METADATA_CACHE)
- database are NOT shared between processes (replaced with getSharedDatabase())
2. Use fb_smp_server as both superclassic and classic binary on posix
(xinetd autodecection is done).
3. Small posix build cleanup.
2010-04-15 14:40:27 +00:00
dimitr
4eedf7d29e
Cleanup.
2010-04-14 08:30:29 +00:00
asfernandes
3387c9c288
Move impure area and rpbs to their own arrays
2010-04-09 15:43:48 +00:00
asfernandes
0762519962
Misc
2010-04-09 00:53:31 +00:00
asfernandes
ae34c52bae
Misc
2010-04-08 15:49:46 +00:00
dimitr
c030d0f939
Let's consistently handle offsets as unsigned integers.
2010-04-08 12:17:54 +00:00
asfernandes
08b84aee0f
Misc
2010-04-05 18:56:02 +00:00
asfernandes
fe9bf02848
Refactor user and system functions nodes
2010-04-05 18:43:11 +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
dimitr
12c5597118
This line is redundant, because the RSE contents (its fixed part) is copied by value right above.
2010-03-24 09:10:44 +00:00
asfernandes
2ed85aef29
Misc
2010-03-21 23:01:30 +00:00
dimitr
90b128d6b6
Fixed CORE-2890: SQLSTATE should also be available as a PSQL context variable like GDSCODE/SQLCODE.
...
To be later backported into v2.5.1, I suppose.
2010-03-21 07:29:58 +00:00
dimitr
437ea7a1f6
Cleanup.
2010-03-19 20:10:19 +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
robocop
be3660d221
Misc.
2010-03-07 04:30:35 +00:00
asfernandes
e079a8fb43
Fixed CORE-2893 - Expression in a subquery in WHERE is treated as invariant and produce incorrect results
2010-02-28 00:40:03 +00:00
asfernandes
c27e61571f
Frontport fix for CORE-2886 - Query with "NOT IN <subselect from view>" fails
2010-02-27 18:24:26 +00:00
asfernandes
ee2cc13aba
Misc
2010-02-24 00:37:04 +00:00
robocop
47d09db742
Reduce copy/paste.
2010-02-23 04:32:09 +00:00
asfernandes
82fe06ed9a
Refactor FOR statement and SELECT...INTO. Indirectly (blr_for), JRD side of standard SELECT is affected as well.
2010-02-22 16:00:49 +00:00
asfernandes
4f9b9161b4
Feature CORE-2006 - SUBSTRING with regular expression (SIMILAR TO) capability
2010-02-21 01:47:54 +00:00
robocop
54507b1048
Misc (formatting).
2010-02-15 05:40:20 +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
robocop
3b5a0fdae5
The way AccessItem instances were ordered was a hack that sooner or later would fail when adding more object types (that now have ACLs but we still don't enfornce them). Further, comparing numbers is faster than comparing strings.
2010-02-13 08:31:16 +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
robocop
1d87d749f0
Misc.
2010-01-26 08:20:27 +00:00