dimitr
6ae3e2cbaf
1) Fixed CORE-4383: Index and BLOBs garbage collection doesn't work for update_in_place().
...
2) Applied the same approach to temporary GC records.
3) Refactored the Record class to avoid reallocations, to improve encapsulation and to simplify the code.
4) Slightly refactored UndoItem to isolate its logic from the Record class.
5) Reduced the in-memory size of the undo log.
6) Slightly better alternative to the legacy NULL reporting for outer joins.
7) Minor fixes and adjustments in BufferedStream.
2015-02-19 14:15:00 +00:00
dimitr
0e11867e84
Refactored the RPB flags. The new logic also provides a second-level protection against CORE-4618.
2014-12-01 21:53:29 +00:00
alexpeshkoff
532181a7f9
Renamed as suggested by Nickolay and Dmitry
2014-07-28 13:01:10 +00:00
alexpeshkoff
4bdc2a3e19
Replaced macro FB_ALIGN with function fbAlign, minor related cleanup
2014-07-24 06:41:38 +00:00
skidder
7c743fc291
Fix build warnings
2014-07-17 18:48:46 +00:00
robocop
fc3d2c7350
Warnings.
2014-03-26 19:06:55 +00:00
dimitr
ecf2d228e1
Extended the detailed plan output.
2014-02-01 09:42:30 +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
8df0ca0194
Misc.
2013-08-21 07:18:26 +00:00
asfernandes
a9c1e054b0
Fix assertion.
2013-08-14 02:20:00 +00:00
dimitr
4dba9ffc74
Misc adjustments.
2013-07-16 06:22:27 +00:00
dimitr
d274c0287b
Refactoring: isolated the singularity checking logic and simplified the whole RSB beast.
2013-04-19 09:22:58 +00:00
dimitr
15e4367810
Small refactoring.
2013-03-17 17:35:53 +00:00
dimitr
fc139b16d5
Fixed rescheduling logic that was broken during the RSB refactoring.
2012-12-17 17:33:45 +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
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
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
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
dimitr
690cc4aa43
Corrections to make new assertions working properly.
2011-03-04 07:52:08 +00:00
dimitr
446ea88ba7
Misc.
2011-03-03 14:12:41 +00:00
dimitr
cc71f0835f
Removed duplicated type declaration.
2011-02-20 15:34:08 +00:00
dimitr
6449c942e7
Implemented CORE-3332: Provide more detailed information about the query execution plan. Some details are still to be worked on.
2011-02-02 11:31:04 +00:00
dimitr
e0f5a68da0
More work on enlarging the message buffers. To be continued.
2011-01-28 18:50:27 +00:00
alexpeshkoff
e05c1a825f
Moved some more .h-files to common from jrd as Vlad suggested
2010-10-13 10:39:52 +00:00
asfernandes
2da3eee4e5
More const correctness
2010-07-06 11:09:32 +00:00
asfernandes
33fc2bae16
Constify RecordSource methods - these classes are shared pieces of a (shared) statement
2010-07-05 18:37:35 +00:00
asfernandes
5ac2130415
Cleanup - switch from pointer arithmetics to sane way to get impure places
2010-04-05 21:20:08 +00:00
alexpeshkoff
d6fcd8eb63
It was bad idea to make two TempSpace related parameters per-database - rolled back some changes
2010-03-03 15:02:01 +00:00
asfernandes
77a2706b73
Misc
2010-03-01 02:14:36 +00:00
alexpeshkoff
e5017f1a12
Extend format of firebird configuration file with a set of additional parameters for any parameter.
...
Use traditional firebird configuration files format in all places (intl, trace, etc.).
Add per-database configuration facility to aliases.conf (currently 15 parameters from firebird.conf).
2010-02-28 18:00:51 +00:00
robocop
79cd3bc57a
Totally misc.
2010-01-25 06:48:09 +00:00
dimitr
53f5c611d4
Misc.
2010-01-19 16:32:02 +00:00
asfernandes
7fbee2c76b
Feature OVER (PARTITION BY ...) clause for window functions
2010-01-18 21:37:47 +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
cccfb555db
Scrollable cursors: work continued.
2009-12-14 12:56:27 +00:00
dimitr
0fa76552c2
Misc.
2009-12-14 11:40:26 +00:00
robocop
dae574f7f1
Misc, style and unused vars.
2009-12-13 10:41:53 +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
3d5e55807f
Boundary check.
2009-12-10 15:50:16 +00:00
asfernandes
e71e4d1e3e
Rename file to match class name
2009-12-10 13:46:22 +00:00