Dmitry Yemanov
f9c3f81cb9
CORE-5182: Inconsistent effects of subsequent statement execution if
...
failing during record refetch.
2016-04-04 09:45:28 +03:00
Adriano dos Santos Fernandes
c2d7536030
Fixed CORE-5153 - Regression: Server crashes when aggregate functions are used together with NOT IN predicate.
2016-03-21 12:28:06 -03:00
hvlad
9ae426a757
Please MSVC14:
...
-add space before XXXFORMAT macros to not confuse it with user-defined literals
-use existing snprintf
This should fix part of the issues at CORE-5099 and CORE-5120
2016-03-17 12:33:26 +02:00
dimitr
81343e94a3
Misc changes.
2016-03-14 09:02:02 +00:00
dimitr
0b97f5fc41
Misc refactoring:
...
1) Renamed Hash class to HashTable
2) Reversed data/length arguments
3) Moved hash() routine to its own class/namespace
4) Fixed the license text
2016-03-05 17:40:49 +00:00
aafemt
a1d55c3e6e
Optimized hash function for lock manager and hash join
2016-03-05 12:28:04 +00:00
paulbeach
150fdb8710
Fix qsort_r for Darwin
2016-03-03 15:04:02 +00:00
dimitr
82553cf5d2
Misc: remove the redundant space in the explained plan output.
2016-02-28 08:45:42 +00:00
dimitr
051e6f6b4c
Minor correction.
2016-01-13 10:08:31 +00:00
dimitr
4e4d8002e5
CORE-4965: Extend the transaction ID space beyond 2^32 transactions. Initially developed in the v2.5 custom branch, then reworked and now merged into v3.0.
2015-10-19 13:32:02 +00:00
alexpeshkoff
139331c7e3
Enhanced memory leaks search - changed FB_NEW to FB_NEW_POOL,
...
plain new to FB_NEW, making allocated with it blocks tagged with file/line.
Make related code slightly better readable.
2015-10-12 14:26:00 +00:00
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