8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-30 20:03:03 +01:00
Commit Graph

326 Commits

Author SHA1 Message Date
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
4ca6e669fe 1. Fixed CORE-3786: Firebird 2.5.1 Hangs on MacOSX 10.7 (Lion) on DB create after reboot.
2. Cleanup: avoid functional style in stuff exception.
2012-11-01 11:40:18 +00:00
asfernandes
57ddc9e81e Fixed three related bugs:
CORE-1188 - Select Starting with :Param (Empty string) doesn't work if using index with many fields
CORE-3052 - Wrong resultset
CORE-3239 - UTF8 UNICODE_CI collate can not be used in compound index
2012-08-28 15:40:18 +00:00
dimitr
3be26e0844 Calculate the index statistics correctly for very large tables. 2012-07-15 12:43:32 +00:00
dimitr
42a4c93b97 1) Removed the no longer actual "parent lock" concept from both the lock and event managers.
2) Reworked the lock manager synchronization: added the RAII mutex holders and avoided dirty reads for the shared memory.
3) Encapsulated lck_length into the Lock class + small related  refactoring.
4) Front ported recent fixes from the v2.x branches.
5) Misc cleanup.
2012-06-21 15:37:38 +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
hvlad
2c7bcf94c2 Fixed bug CORE-3841 : Corrupted database after inserting rows.
It should also fix CORE-3839 : Values disappearing from index
2012-05-11 19:39:11 +00:00
asfernandes
dd46c387fb Misc. 2012-03-17 02:26:59 +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
4dffb2c624 Made the jump nodes unconditional. To be continued. 2012-03-13 10:31:28 +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
43898b2d41 I believe this flag is redundant as it duplicates the information already available on the index root page. 2012-01-26 07:38:14 +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
e498deb078 Totally misc. 2012-01-24 02:23:43 +00:00
asfernandes
8d5413ee98 Misc. 2012-01-22 01:10:58 +00:00
asfernandes
540da0d53f Misc. 2012-01-21 19:04:28 +00:00
asfernandes
c3709b35a4 Fixed (hope!) CORE-1997 - Broken foreign key handling for multi-segmented index using multi-level collations. 2012-01-12 14:54:35 +00:00
dimitr
4af9803007 Slightly different fix for CORE-3722: IS NOT DISTINCT FROM NULL doesn't use index. 2012-01-10 13:15:09 +00:00
dimitr
2dd5b35f2b Cleanup. We don't need a separately stored global index selectivity for along time already. 2012-01-07 02:30:42 +00:00
asfernandes
906ea4729e Misc. 2011-10-27 01:04:14 +00:00
dimitr
1b0ff623e7 Misc. 2011-10-10 10:39:59 +00:00
dimitr
c5c557c3ba Front ported recent commits. 2011-07-22 07:00:09 +00:00
dimitr
ce9e812717 Fixed CORE-2709: Many indexed reads in a compound index with NULLs. Note that it's an ODS change, so nullable compound indices may require recreation. 2011-07-14 12:31:36 +00:00
dimitr
eb546d94ba Front ported CORE-3547: Floating-point negative zero doesn't match positive zero in the index. 2011-07-13 15:15:34 +00:00
asfernandes
0193d90f6c Fix definition and usages of fb_assert. 2011-02-26 16:03:36 +00:00
asfernandes
4e0afa0b53 Misc 2011-02-25 01:03:29 +00:00
dimitr
af76dc8de8 Better solution for CORE-3355, as suggested by Vlad. 2011-02-22 12:43:14 +00:00
dimitr
b0e3c9f94d Fixed CORE-3355: Wrong comparison of DATE and TIMESTAMP if index is used. 2011-02-21 11:18:29 +00:00
asfernandes
e623bb4bf1 Misc 2011-02-18 00:52:10 +00:00
dimitr
bccfda7aa6 Misc. 2011-02-15 07:32:56 +00:00
dimitr
e92c40eed7 Fixed the error handling behavior in fast_load(), now it corresponds to the original (FB1) one.
Fixed a possible bugcheck because of an unexpectedly missing index root page.
Simplified the various jump node structures usage.
2011-02-12 21:32:05 +00:00
alexpeshkoff
f89ac854ef Getting ready to use 32 (not 31) page and transaction numbers 2011-01-21 17:55:04 +00:00
asfernandes
c9ec26c0c3 Feature CORE-726 - Boolean data type 2010-12-18 02:17:06 +00:00
asfernandes
a3064848d6 Make ExprNodes and RecordSourceNodes reference others directly instead of via jrd_nod.
Store ValueExprNodes instead of jrd_nod in the metadata cache.
Make RecordSourceNode child of ExprNode as they share most operations.
Get rid of the JRD visitors in favor of direct calls.
Convert assignments statement lists created inside expressions to separate source and targets ValuesExprNodes.
2010-11-21 03:47:29 +00:00
asfernandes
4dea3a42a1 Remove dependency of jrd_nod in ExprNode 2010-11-14 22:31:42 +00:00
alexpeshkoff
e05c1a825f Moved some more .h-files to common from jrd as Vlad suggested 2010-10-13 10:39:52 +00:00
alexpeshkoff
2dc25a44bb OSRI and new posix build 2010-10-12 08:02:57 +00:00
asfernandes
de5098b85d Misc 2010-08-10 00:37:26 +00:00
asfernandes
dadc0f560c Const correction for EVL, EXE and they subsystems. Adjustments to CMP and OPT. 2010-08-09 15:48:51 +00:00
asfernandes
e37d097240 Misc 2010-05-22 02:00:45 +00:00
asfernandes
632e72c3a5 Correction for CORE-2826 - Join condition fails for UTF-8 databases 2010-05-17 15:18:57 +00:00
asfernandes
bac1cfa1c4 Fixed CORE-2826 - Join condition fails for UTF-8 databases 2010-05-11 15:59:19 +00:00
asfernandes
4763533669 Refactor jrd_req into JrdStatement (shared part) and jrd_req (execution of a statement).
Fixed some bugs found in the way.
2010-04-18 22:19:11 +00:00
dimitr
1c9adc5300 Cleanup. 2010-04-06 16:26:27 +00:00
dimitr
fd625ac853 Release the sort resources as soon as possible, per Claudio's request.
Actually, this corresponds to the pre-v3.0 behavior.
2010-04-01 06:57:34 +00:00
hvlad
b86cb833f0 Fixed bug CORE-2936 : Wrong page type (expected 7 found N) error 2010-03-22 22:52:22 +00:00
asfernandes
cd0c292823 Misc 2010-03-17 02:12:39 +00:00
dimitr
63bedffa71 Refactored the sorter into a proper class.
Removed some dead code and unused files.
2010-03-16 11:19:29 +00:00
dimitr
e5a732d782 Cleanup the dead code remaining from the legacy scrollable cursors feature. 2010-03-16 06:21:28 +00:00