dimitr
125a332861
Fixed CORE-4909 re. sort/merge joins.
2015-09-11 09:57:10 +00:00
asfernandes
a6cb8cc02a
Avoid code duplication.
2015-09-06 19:00:02 +00:00
dimitr
fe24642bc2
Fixed invariants handling in independent subqueries (seems to be related to CORE-4497).
2015-08-31 15:11:06 +00:00
dimitr
6131cf1216
Fixed the hash-join part of CORE-4909: MERGE / HASH JOINs produce incorrect results when VARCHAR join keys differ only by trailing spaces.
2015-08-16 15:47:30 +00:00
mapopa
1217895f82
USE_QSORT_CTX on Debian/kFreeBSD If qsort_r is available, use it on all platforms. Use the platform-specific
...
code otherwise. Patch https://anonscm.debian.org/cgit/pkg-firebird/3.0.git/commit/?id=feac4328eb7a300c59fbb57c05618d710c9981d2
2015-06-07 18:34:47 +00:00
dimitr
8744b80766
1) Reverted a more complex refetch logic introduced recently to its original state.
...
2) Protected against an undo record being used in VIO modify/erase/writelock routines.
3) Avoided false deadlocks in read-committed transactions.
This should cure CORE-4369, CORE-4561 and CORE-4618 at once.
2015-06-02 10:43:16 +00:00
dimitr
0b56909d92
Misc.
2015-02-19 14:19:52 +00:00
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
asfernandes
47f64b0da4
Better constant names: avoid FB, enclosing class (double prefix) or wrong prefixes.
...
Left some TODOs in FirebirdInterface.idl and utilities/ntrace/TracePluginImpl.cpp related to trace.
(redo with fix for Windows build, and left another TODO comment in FirebirdInterface.idl)
2015-02-18 15:01:17 +00:00
asfernandes
c861f0cd54
Revert my last change after it broke the Windows build.
2015-02-17 23:21:25 +00:00
asfernandes
3c967bbe71
Better constant names: avoid FB, enclosing class (double prefix) or wrong prefixes.
...
Left some TODOs in FirebirdInterface.idl and utilities/ntrace/TracePluginImpl.cpp related to trace.
2015-02-17 14:56:59 +00:00
hvlad
3ca5a7b007
It should fix regression CORE-4653 : Crash on infinite mutual SP calls (instead of "Too many concurrent executions of the same request.")
2015-02-05 23:04:36 +00:00
egorpugin
d397e68a48
[build] [cmake] Prepare sources for CMake building. Add clang preprocessor defs, ARM architecture defs, some Android-related defs. Add 'qsort_r' function search to configure.ac.
2015-01-21 11:11:04 +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
hvlad
b6b26d0091
Warnings. Misc.
2014-09-30 19:38:35 +00:00
alexpeshkoff
5ccc32e0ed
Better place for trace-related constants, thanks to Vlad
2014-09-30 15:04:14 +00:00
alexpeshkoff
153de0f271
Language independent API
2014-09-29 11:03:47 +00:00
dimitr
6d77447723
Minor refactoring.
2014-08-28 15:53:43 +00:00
dimitr
bc588f3549
Fixed missing encounting for record refetches.
2014-08-28 15:34:45 +00:00
dimitr
7d802db4f5
Avoid metadata lookups while retrieving the plan (especially important in ASTs).
2014-07-30 09:50:33 +00:00
dimitr
07e6069b2a
Misc.
2014-07-30 09:27:43 +00:00
alexpeshkoff
532181a7f9
Renamed as suggested by Nickolay and Dmitry
2014-07-28 13:01:10 +00:00
asfernandes
5851f7e8d3
Warnings.
2014-07-27 23:33:50 +00:00
dimitr
7f90a395c4
Fixed CORE-4498: FB 3.0 crashes when getting an explained plan for a DBKEY based retrieval.
2014-07-24 19:37:58 +00:00
alexpeshkoff
4bdc2a3e19
Replaced macro FB_ALIGN with function fbAlign, minor related cleanup
2014-07-24 06:41:38 +00:00
asfernandes
933dd7daef
Warnings.
2014-07-20 02:19:56 +00:00
skidder
e2e901939c
Fix GCC warnings
2014-07-17 21:17:15 +00:00
skidder
7c743fc291
Fix build warnings
2014-07-17 18:48:46 +00:00
dimitr
3bab84be69
More fixes for the explained plan output.
2014-07-16 12:51:22 +00:00
dimitr
84b3d84458
Fixed the crash I accidentally introduced a few days ago.
2014-07-15 19:41:56 +00:00
asfernandes
8cde86bf1d
Warning.
2014-07-15 14:47:42 +00:00
dimitr
fee9ca2cc3
Improved the detailed plan output (report both table name and its alias).
2014-07-12 08:04:04 +00:00
dimitr
153b06b2fd
Minor structure changes.
2014-06-13 16:28:22 +00:00
asfernandes
bb735cb5a2
Misc.
2014-05-23 02:12:56 +00:00
asfernandes
3f8de25fcc
Feature CORE-4403 - Allow referencing cursors as record variables in PSQL.
...
Improvement CORE-4434 - Extend the use of colon prefix for read/assignment OLD/NEW fields and assignment to variables.
2014-05-19 19:06:47 +00:00
dimitr
15e8bbd4e8
Slightly reworked the key processing in the hash join algorithm.
2014-05-14 08:28:13 +00:00
dimitr
1ca0ace21f
Fixed the accidentally broken merge join algorithm.
2014-05-14 08:24:18 +00:00
dimitr
d28311c4af
Fixed the issue privately reported by Claudio.
2014-05-12 06:04:20 +00:00
dimitr
a6225eca2d
Attempted to fix CORE-4388: SELECT WITH LOCK may enter an infinite loop for a single record. To be field tested.
2014-04-13 08:27:04 +00:00
robocop
fc3d2c7350
Warnings.
2014-03-26 19:06:55 +00:00
dimitr
98c9f00c2c
Allowed conditional bitmap scans for the index navigation.
2014-03-25 14:43:14 +00:00
dimitr
7596de8b48
Fixed CORE-4371: Create function/sp which references to non-existent exception: error message is "Error while parsing function's BLR" instead of "exception not defined".
2014-03-25 13:51:41 +00:00
robocop
66af445e2e
Misc.
2014-03-22 20:51:24 +00:00
asfernandes
fc8a3bed09
Fixed problem with hash join using keys with non-none character set. Dmitry, please review.
2014-03-07 16:21:01 +00:00
robocop
ae8f6d6b8f
Misc.
2014-03-03 04:37:29 +00:00
asfernandes
71772092c0
Fix warning in Linux.
2014-02-25 14:47:14 +00:00
asfernandes
3a87224281
Warnings and make Linux debug build compile.
2014-02-18 01:49:07 +00:00
dimitr
9f80a5a502
Reworked the hash joins implementation for a better performance. To be field tested.
2014-02-17 15:07:03 +00:00
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