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

200 Commits

Author SHA1 Message Date
dimitr
ecf2d228e1 Extended the detailed plan output. 2014-02-01 09:42:30 +00:00
dimitr
94274129b8 Misc. 2014-01-10 08:03:36 +00:00
dimitr
a149317d89 Improvement CORE-3881: Extend the error reported for index/constraint violations to include the problematic key value. 2014-01-10 07:49:51 +00:00
asfernandes
7bb6f550ee Misc. 2013-12-25 23:36:56 +00:00
hvlad
b6e00c5cdb Fixed bug CORE-4302 : Descending index could be very inefficient for some keys 2013-12-21 18:46:33 +00:00
dimitr
f1139cc9ab Protected from unexpected operations with a closed stream. 2013-12-11 17:11:47 +00:00
dimitr
d68f1d7485 Improved the detailed plan output. 2013-12-05 16:37:25 +00:00
dimitr
d9c0e9548c Fixed three issues together represented in CORE-4261:
- non-existent result of the window function (in outer joins) is reported as 0 instead of NULL
- derived constant is processed wrongly in windowed streams
- deeper-than-root partitions are not "nullified" in outer joins
Adriano, please review.
2013-12-05 13:59:12 +00:00
dimitr
e85e7360ec Fixed crashes or wrong results (empty result set) for inner joins and INTL columns. 2013-12-02 17:14:01 +00:00
asfernandes
2d15c34529 Fixed CORE-4247 - Delete "where current of" cursor fails for tables with newly added fields. 2013-10-24 14:47:45 +00:00
dimitr
ffbc33c270 Fixed CORE-4229: Bi-directional cursor is not positioned by the first call of FETCH LAST. 2013-09-20 07:06:08 +00:00
dimitr
a4ec331d3d On second thought, I'm removing the artifical message size limit. 2013-08-21 09:17:10 +00:00
dimitr
c1cbd97163 Increased the sort record size limit to 1MB. I've kept this limit due to the possible performance implications, but it can be extended/removed any time. 2013-08-21 09:11:57 +00:00
dimitr
8df0ca0194 Misc. 2013-08-21 07:18:26 +00:00
asfernandes
a9c1e054b0 Fix assertion. 2013-08-14 02:20:00 +00:00
dimitr
b7372ba47e Front ported CORE-3989: Bad performance / slow response when many concurrent sorts are executed. 2013-08-06 09:37:44 +00:00
dimitr
c12bab1332 A bit more information for the plan. 2013-08-05 16:11:15 +00:00
dimitr
4dba9ffc74 Misc adjustments. 2013-07-16 06:22:27 +00:00
dimitr
8a177d4793 Fixed crash appeared in test bugs.core_2291. 2013-07-15 11:56:23 +00:00
dimitr
7ef5725b5f Fixed hash join of more than two streams. 2013-07-10 19:49:16 +00:00
asfernandes
741cba7293 Refactor AggregatedStream to remove duplicated code and make it easier to understand. 2013-06-30 02:15:35 +00:00
asfernandes
54243004a8 Fixed CORE-4131 - Error when processing an empty data set by window function, if reading indexed. 2013-06-28 15:55:02 +00:00
asfernandes
fc16bb34e4 Fixed crash when calling unimplemented packaged procedures. 2013-05-13 01:48:57 +00:00
dimitr
af97c12801 Simplified the code and reworked the NULL validation logic. 2013-05-06 12:34:20 +00:00
dimitr
18ac6284b7 Fixed bug in my recent refactoring, thanks to Adriano. 2013-05-04 16:19:07 +00:00
dimitr
d274c0287b Refactoring: isolated the singularity checking logic and simplified the whole RSB beast. 2013-04-19 09:22:58 +00:00
asfernandes
e0567463bf Revert external routines to request-based (*) code, but now using a totally different internal approach.
* This is not ideal IMO, but much more easier to currently support stack traces, and domain's defaults and validations.
2013-04-11 15:44:17 +00:00
asfernandes
a74f8f1acd Fixed CORE-4073 - Constant columns getting empty value with subselect from procedure. 2013-04-03 15:27:28 +00:00
dimitr
15e4367810 Small refactoring. 2013-03-17 17:35:53 +00:00
asfernandes
48fd751c6e Fixing FB_MESSAGE macro and external functions and procedures.
Isolate external routines them from request-based ones.
2013-03-04 01:42:58 +00:00
asfernandes
9b72aa53bc Misc. 2012-12-19 00:56:57 +00:00
dimitr
fc139b16d5 Fixed rescheduling logic that was broken during the RSB refactoring. 2012-12-17 17:33:45 +00:00
dimitr
3971e49b30 Another bunch of changes for CORE-4004: Sometimes long-running operations cannot be interrupted by asynchronous shutdown / cancellation requests. The looper nodes should never ignore req_unwind and transform it to something else.
Review and testing would be appreciated, especially in regard to EXE_assignment.
2012-12-06 12:09:11 +00:00
dimitr
4ff4290f11 Front-ported bugfixes related to CORE-4004: Sometimes long-running operations cannot be interrupted by asynchronous shutdown / cancellation requests. 2012-12-03 11:21:00 +00:00
alexpeshkoff
2a01e4bcf9 Implemented CORE-3861: Make it possible to encrypt database
Also some cleanups, the most important are:                                                                                                                   
- meaningful ctor on Jrd::Lock, helping to avoid code dup                                                                                                     
- avoid unneeded h-file dependencies, making boot build engine dependent
2012-05-31 16:53:42 +00:00
robocop
642d506cd9 Change txn numbers to unsigned and commit after Vlad's review. If the compile-time checks (to ensure enough room for the new txn type) are too ugly, they may be deleted. 2012-05-19 12:04:37 +00:00
asfernandes
07747144f7 Unify DSQL/JRD sub-nodes. 2012-05-03 16:43:29 +00:00
asfernandes
08fd639cee Fix window functions. 2012-04-25 16:00:09 +00:00
asfernandes
81d628f40a Warning. 2012-04-23 00:55:45 +00:00
asfernandes
580172419b Misc. 2012-04-23 00:48:28 +00:00
robocop
70d5ebdfdf - Got rid of the fixed array that kept the stream count in the first element and 255 streams after it.
- Changed streams from UCHAR to ULONG as Dmitry wanted
- Got rid of some redundant flags to indicate BLR level
- Misc changes (for example, converted to test for DBB_read_only in Database to a function)
- BLR v6 is left commented (waiting for a better solution to appear, if any exists)
- This change is not going to raise the engine limits until a solution is found to express more than 255 streams in BLR.
2012-04-12 09:02:13 +00:00
dimitr
fe01201cd4 Fixed CORE-3806: Wrong data returned if a sub-query or a computed field refers to the base table in the ORDER BY clause. 2012-04-02 15:25:36 +00:00
dimitr
05c27aa212 Integrated the jumping information natively into the index bucket.
WARNING: This is an ODS change, databases must be recreated.
2012-03-14 14:33:41 +00:00
dimitr
455c4c82d6 Front-ported CORE-3457: Optimize the temporary space manager regarding small chunk allocations. 2012-03-14 14:00:38 +00:00
alexpeshkoff
4e795f4047 Include platform definitions file common.h in firebird.h. Use OS-specific ThreadId instead artificial FB_THREAD_ID, avoiding unneeded casts in the code. This should fix BSD and MAC ports. 2012-03-01 08:55:43 +00:00
dimitr
104814f721 Slightly refactored the b-tree nodes. This commit includes cleaning up ods.h from the runtime (in memory) structures and encapsulating the b-tree nodes implementation inside their corresponding objects. To be continued. 2012-01-26 07:01:45 +00:00
robocop
21cd78a0fd Cleanup: unused functions, parameters & variables. 2012-01-24 03:37:43 +00:00
asfernandes
d075c8459c Misc. 2011-12-17 01:34:39 +00:00
dimitr
f30f9e58e8 Reworked the fix for CORE-3683: Recursive query with GROUP BY in root part: wrong results if no index exists for fields that are grouped. It resolves some optimization regressions appeared after the original fix. 2011-12-14 06:45:24 +00:00
asfernandes
965bf3f159 Fixed the problem with windowed functions in recursive CTEs, reported by Frank Ingermann in fb-devel.
This fix is complementary to the one done in CORE-3683.
2011-12-04 18:36:26 +00:00