8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-31 10:43:02 +01:00
Commit Graph

200 Commits

Author SHA1 Message Date
dimitr
4da89d351a Fixed the hash calculation for VARCHARs. 2010-01-14 12:18:03 +00:00
dimitr
7d7aef4228 Cleanup and refactoring in the optimizer (mostly related to rivers and sort/merge). 2010-01-13 11:46:16 +00:00
asfernandes
5277b99bcf Misc 2010-01-12 14:21:30 +00:00
dimitr
6c4dd3ba82 Proper cleanup while closing the stream. 2010-01-12 11:33:13 +00:00
dimitr
2874edbf5c Basic implementation of hash joins (only inner so far).
Optimizer support is to follow a bit later.
2010-01-12 11:26:09 +00:00
dimitr
6eff77d30e Slightly better support for merge joins and IS NOT DISTINCT equalities. 2010-01-12 11:08:45 +00:00
dimitr
00dc3068fe Implement the lazy caching mode. Rows are stored in the buffer while fetching forward.
The switch to the fully cached mode is performed upon the first positioned access.
2010-01-06 15:40:39 +00:00
dimitr
cca8441572 Added the missing license. 2010-01-04 07:57:29 +00:00
asfernandes
d8c99a9be2 1) Make procedures and functions member of the same hierarchy (Routine class)
2) Some completion for external functions
2009-12-27 22:05:22 +00:00
asfernandes
534b8c020e Misc 2009-12-25 19:29:58 +00:00
robocop
06a4224d0b Put class Attachment in its own files by brute force. 2009-12-25 09:55:05 +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
asfernandes
b525f3b54f Misc 2009-12-16 21:52:01 +00:00
alexpeshkoff
bf75fffe70 fixed gcc warnings 2009-12-15 13:55:35 +00:00
asfernandes
b137cdfd80 Misc 2009-12-14 23:55:56 +00:00
dimitr
255f1b8e27 Optimization: avoid reading the underlying streams in the case of "FIRST 0". 2009-12-14 14:29:20 +00:00
dimitr
cccfb555db Scrollable cursors: work continued. 2009-12-14 12:56:27 +00:00
dimitr
0fa76552c2 Misc. 2009-12-14 11:40:26 +00:00
dimitr
424199b648 Misc. 2009-12-14 09:23:27 +00:00
dimitr
eb067509a6 Rollback to the prior revision, as the latest commit crashes the engine. 2009-12-14 09:17:05 +00:00
dimitr
08aded6029 Misc. 2009-12-14 07:27:05 +00:00
hvlad
f312a3afce Let use correct rsb type in PLAN output 2009-12-13 21:16:29 +00:00
dimitr
9863e0f953 Misc. 2009-12-13 12:08:02 +00:00
robocop
5be128322d Misc. 2009-12-13 11:06:24 +00:00
robocop
79008881ac It's easy to streamline the code when another person did the hard job before.
:-)
2009-12-13 10:55:32 +00:00
robocop
52de590516 Correction (paying attention to warnings can help really). 2009-12-13 10:42:55 +00:00
robocop
dae574f7f1 Misc, style and unused vars. 2009-12-13 10:41:53 +00:00
dimitr
a2ae164ff4 Fixed the binary plan output, thanks to Claudio. 2009-12-13 07:38:26 +00:00
asfernandes
b1de816d6a Misc 2009-12-12 20:56:12 +00:00
asfernandes
7b8ea84561 Sort maps refactor 2009-12-12 20:36:56 +00:00
asfernandes
008e1bdb59 Remove usage of plain array with count in [0] in the new classes 2009-12-12 19:00:43 +00:00
dimitr
743a5862a1 Misc. 2009-12-12 17:57:48 +00:00
dimitr
d0d78a2677 Misc. 2009-12-12 14:54:33 +00:00
dimitr
9a73ddbda1 Fixed a not-initialized pointer. 2009-12-12 14:44:28 +00:00
dimitr
64b4d4040c Please Claudio and make the flags unique across all RecordSource implementors. 2009-12-12 10:23:14 +00:00
dimitr
7f60db7fc9 Make the auto-incremented positioning slightly more explicit. 2009-12-12 10:16:35 +00:00
asfernandes
8d8f89efd6 Misc 2009-12-11 14:48:15 +00:00
dimitr
b716a4d083 Misc. 2009-12-10 20:09:23 +00:00
dimitr
3c815dbaac Restored the code from rse.cpp that was forgotten during refactoring. 2009-12-10 16:26:11 +00:00
dimitr
3d5e55807f Boundary check. 2009-12-10 15:50:16 +00:00
dimitr
308c5e1e89 Forgotten changes from a few prior commits. 2009-12-10 15:27:17 +00:00
dimitr
8cbaa89e7e Fixed the merge join algorithm. Thanks to Adriano. 2009-12-10 15:26:46 +00:00
asfernandes
e71e4d1e3e Rename file to match class name 2009-12-10 13:46:22 +00:00
dimitr
386edb9f43 Misc. 2009-12-10 12:45:16 +00:00
asfernandes
733a0790d4 Misc 2009-12-10 12:17:00 +00:00
asfernandes
01a8a22be5 Misc / Constant for aggregate state 2009-12-10 01:32:47 +00:00
asfernandes
7971899bd5 Fix window functions 2009-12-10 00:29:41 +00:00
asfernandes
925bcc9cf6 Misc / warnings 2009-12-10 00:02:01 +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