8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-30 19:23:03 +01:00
Commit Graph

310 Commits

Author SHA1 Message Date
asfernandes
540da0d53f Misc. 2012-01-21 19:04:28 +00:00
asfernandes
c3709b35a4 Fixed (hope!) CORE-1997 - Broken foreign key handling for multi-segmented index using multi-level collations. 2012-01-12 14:54:35 +00:00
dimitr
4af9803007 Slightly different fix for CORE-3722: IS NOT DISTINCT FROM NULL doesn't use index. 2012-01-10 13:15:09 +00:00
dimitr
2dd5b35f2b Cleanup. We don't need a separately stored global index selectivity for along time already. 2012-01-07 02:30:42 +00:00
asfernandes
906ea4729e Misc. 2011-10-27 01:04:14 +00:00
dimitr
1b0ff623e7 Misc. 2011-10-10 10:39:59 +00:00
dimitr
c5c557c3ba Front ported recent commits. 2011-07-22 07:00:09 +00:00
dimitr
ce9e812717 Fixed CORE-2709: Many indexed reads in a compound index with NULLs. Note that it's an ODS change, so nullable compound indices may require recreation. 2011-07-14 12:31:36 +00:00
dimitr
eb546d94ba Front ported CORE-3547: Floating-point negative zero doesn't match positive zero in the index. 2011-07-13 15:15:34 +00:00
asfernandes
0193d90f6c Fix definition and usages of fb_assert. 2011-02-26 16:03:36 +00:00
asfernandes
4e0afa0b53 Misc 2011-02-25 01:03:29 +00:00
dimitr
af76dc8de8 Better solution for CORE-3355, as suggested by Vlad. 2011-02-22 12:43:14 +00:00
dimitr
b0e3c9f94d Fixed CORE-3355: Wrong comparison of DATE and TIMESTAMP if index is used. 2011-02-21 11:18:29 +00:00
asfernandes
e623bb4bf1 Misc 2011-02-18 00:52:10 +00:00
dimitr
bccfda7aa6 Misc. 2011-02-15 07:32:56 +00:00
dimitr
e92c40eed7 Fixed the error handling behavior in fast_load(), now it corresponds to the original (FB1) one.
Fixed a possible bugcheck because of an unexpectedly missing index root page.
Simplified the various jump node structures usage.
2011-02-12 21:32:05 +00:00
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