alexpeshkoff
f89ac854ef
Getting ready to use 32 (not 31) page and transaction numbers
2011-01-21 17:55:04 +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
asfernandes
4dea3a42a1
Remove dependency of jrd_nod in ExprNode
2010-11-14 22:31:42 +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
2dc25a44bb
OSRI and new posix build
2010-10-12 08:02:57 +00:00
asfernandes
de5098b85d
Misc
2010-08-10 00:37:26 +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
asfernandes
632e72c3a5
Correction for CORE-2826 - Join condition fails for UTF-8 databases
2010-05-17 15:18:57 +00:00
asfernandes
bac1cfa1c4
Fixed CORE-2826 - Join condition fails for UTF-8 databases
2010-05-11 15:59:19 +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
dimitr
1c9adc5300
Cleanup.
2010-04-06 16:26:27 +00:00
dimitr
fd625ac853
Release the sort resources as soon as possible, per Claudio's request.
...
Actually, this corresponds to the pre-v3.0 behavior.
2010-04-01 06:57:34 +00:00
hvlad
b86cb833f0
Fixed bug CORE-2936 : Wrong page type (expected 7 found N) error
2010-03-22 22:52:22 +00:00
asfernandes
cd0c292823
Misc
2010-03-17 02:12:39 +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
dimitr
e5a732d782
Cleanup the dead code remaining from the legacy scrollable cursors feature.
2010-03-16 06:21:28 +00:00
dimitr
42fbd2615b
Front ported CORE-2833: Changing data that affects an expression index that contains references to null date fields fails.
...
Also, removed the duplicated (and, at the first glance, unnecessary) code that forced us to deal with the already_attached flag. To be tested in the field.
2010-02-26 09:02:22 +00:00
asfernandes
5cb37fda71
Misc
2010-02-11 01:08:20 +00:00
hvlad
3b4a374a16
Fixed bug CORE-2586 : Non-NULL key in unique index could be not found when key is removed
2010-02-10 14:48:02 +00:00
asfernandes
534b8c020e
Misc
2009-12-25 19:29:58 +00:00
robocop
0564019d2f
Misc and cleanup.
2009-12-24 11:48:17 +00:00
dimitr
79a2e9bdcb
Cleanup.
2009-12-23 14:19:38 +00:00
alexpeshkoff
b3ff195a64
Cleanup - two flags are always set to true starting with ODS > 10
2009-12-22 10:30:49 +00:00
dimitr
11495a55fb
Refactored the whole RSB stuff into classes. They're inside the /recsrc sub-directory now.
...
Fixed the layering for WITH LOCK and (partially) ANY/ALL predicates.
Cleaned up the outdated code that never worked (mapping DISTINCT to an index, some VMS remainings).
Wiped out a lot of the pre-ODS11 optimizer logic. Some minor adjustments there.
Re-implemented the full outer join from scratch. This resolves CORE-2678 (full outer join cannot use available indices).
Resolved CORE-2796: DB_KEY is always zero for external tables.
Implemented the core part of the scrollable PSQL cursors. Implementation is still incomplete, but ready for testing.
Some other changes I don't recall at the moment ;-)
WARNING! The engine may be unstable. Please email me about any issues found.
2009-12-09 18:45:44 +00:00
robocop
f955568fc9
The architect created ODS12 and saw it was good, then he said "thy shall be the only one among your race", dropped the older ones and sent the developers to the four corners of the cyberspace to convert the masses to ODS12.
2009-11-27 02:33:40 +00:00
robocop
579a456329
Style.
2009-11-25 08:38:52 +00:00
robocop
d6ceb87638
Cleanup.
2009-11-25 04:52:54 +00:00
robocop
5a1e3fb0aa
Restrict us to ODS11 and ODS12 until the dust settles down.
2009-11-24 12:22:31 +00:00
robocop
804ad6048a
Restrict us to ODS11 and ODS12 until the dust settles down.
2009-11-24 11:42:56 +00:00
robocop
1386adcf90
Style.
2009-11-16 08:06:31 +00:00
dimitr
e6909de7f7
Wipe out the SCROLLABLE_CURSORS code + minor cleanup.
...
Also, surfaced scrollability for PSQL cursors (without internal support yet).
2009-10-31 06:25:01 +00:00
asfernandes
19fac12314
Misc
2009-10-21 01:01:04 +00:00
hvlad
19e817cb70
Fixed bug CORE-2684 : Error page NNN is of wrong type (expected 7, found N)
2009-10-15 09:16:31 +00:00
hvlad
6fde607f41
Fixed bug CORE-2616 : page 1530262 is of wrong type (expected 7, found 5)
2009-09-24 21:05:45 +00:00
asfernandes
d4e407cb3f
Misc
2009-09-24 02:11:10 +00:00
hvlad
08812363ad
A little paranoid addition to the fix for CORE-2635
2009-09-23 10:32:58 +00:00
hvlad
aca4df4e9a
Fixed bug CORE-2635 : Unique index with a lot of NULL keys can be corrupted at level 1
2009-09-22 21:01:16 +00:00
dimitr
8e36474f76
More explicit (and shorter) life-time for sort blocks. Now they belong to either requests (user sorts) or transactions (index sorts).
...
This also resolves CORE-2477: mon$memory_usage: Sorting memory should be reported as owned by the statement.
2009-09-04 06:11:55 +00:00
robocop
abae34b092
We never handled ODS_VERSION7 (see FB1 for example). Thanks Dmitry.
...
Rework code for readability.
2009-08-24 10:21:14 +00:00
robocop
17cefa486e
Comments.
2009-08-21 08:54:56 +00:00
robocop
f7b2032c31
Typo repeated.
2009-06-27 11:12:49 +00:00
robocop
f10e1b72eb
Style.
2009-06-27 06:23:36 +00:00
robocop
d82f063395
Style.
2009-06-26 04:12:20 +00:00
robocop
48377f4e35
Convert goto into a for() loop.
2009-06-25 10:59:10 +00:00
asfernandes
097b0ca2c2
Misc
2009-06-25 02:29:13 +00:00
robocop
bb83e70cfe
Isolate even more the scrollable cursors-related code.
2009-06-22 08:45:38 +00:00
robocop
c9feb04a8a
Simplification.
2009-06-21 08:32:55 +00:00
robocop
f3fdc5b5c7
Give idx_id and associated values a consistent data type and treatment.
2009-06-21 06:04:18 +00:00