hvlad
2e343c74ef
Implement improvement CORE-1069 : Optimize index scan when more than one index scanned and ANDed
2006-12-27 21:01:02 +00:00
robocop
9a61c5185f
Totally misc.
2006-12-19 08:36:48 +00:00
alexpeshkoff
8896a21641
frontported fixes from 2.0
2006-12-15 17:30:41 +00:00
alexpeshkoff
f86fef0c48
Fixed CORE-1053
2006-12-14 16:20:35 +00:00
hvlad
f206c67d12
Fixed CORE-1040: Wrong single-segment ascending index on character field with NULL and empty string values
2006-12-06 09:37:25 +00:00
dimitr
543fc5e0d1
Enabled rescheduling points for classic. It allows to shutdown database or cancel operation timely for a heavy loaded attachment.
2006-10-31 15:59:23 +00:00
hvlad
c747acbbaa
Fixed CORE-952: AV when blob is used in expression index
2006-10-17 11:03:20 +00:00
robocop
870b1a0363
Misc.
2006-10-08 06:43:59 +00:00
dimitr
988782a96a
1) A new class to handle aggregated multi-level performance counters.
...
2) Cleanup and minor fixing.
3) A few monitoring changes.
2006-10-07 10:53:01 +00:00
robocop
581d251c82
Misc: idx_id is already USHORT.
2006-09-15 07:24:31 +00:00
hvlad
04051ab102
Fix for CORE-895: possible unique index violation
2006-08-12 17:21:55 +00:00
hvlad
8d7cd54229
Correction to the fix :)
2006-06-01 16:28:38 +00:00
hvlad
029706631f
Fixed unregistered FB2 bug:
...
endless loop when exception during index's expression evaluation occured
2006-06-01 16:25:30 +00:00
robocop
7040d668fd
Misc.
2006-05-25 08:40:23 +00:00
dimitr
211645e3dc
Getting rid of the old allocator routines.
2006-05-23 10:17:00 +00:00
asfernandes
24d936cd70
Misc
2006-05-22 01:29:06 +00:00
hvlad
701f2cbda4
Global temporary tables implementation
2006-05-21 22:07:35 +00:00
asfernandes
292ad66e96
Misc
2006-05-20 01:53:51 +00:00
alexpeshkoff
b056a118b5
1. Avoid use of STL
...
2. Reworked exceptions to make status_exception always hold correct status vector
3. Avoid use of RTTI
2006-05-19 15:17:02 +00:00
dimitr
8c66a4883a
1) Fixed wrong ALL results in the ODS11 optimizer.
...
2) Fixed SF #527681 -- Strange/Inconsistent query results
2006-05-17 19:15:41 +00:00
asfernandes
eb77ff3709
Misc
2006-05-01 02:26:10 +00:00
dimitr
b8342226e6
Const'ness.
2006-04-30 15:11:50 +00:00
alexpeshkoff
469589f573
Use Firebird::Array instead of STL's vector
2006-04-25 17:49:24 +00:00
robocop
d74438baed
Fix the discordant data types between flags and the vars used to work with them (really dangerous if the flag is USHORT and you hold it in a UCHAR). Also, get rid of some debris of the uppercased typedefs.
2006-04-19 07:10:53 +00:00
hvlad
6cf18cc072
Bug fix: don't use page buffer after page was released - it can be replaced
...
by another page and may lead to serious corruptions
2006-04-18 12:45:22 +00:00
robocop
c5f2284b15
Style.
2006-04-06 08:18:53 +00:00
dimitr
5010e6b0cb
Fixed the bug that caused unexpected bugcheck(205) in big databases.
2006-03-29 15:26:24 +00:00
robocop
10cb928ddc
More cleanup.
2006-02-23 06:52:25 +00:00
robocop
1f84bac700
Mark unused data members, discover more code associated to conditional compilation, clean some places, replace custom loops by memcpy and memset when possible, etc.
2006-02-23 05:08:26 +00:00
hvlad
47ac2b981a
bugfix
2006-02-08 10:11:46 +00:00
robocop
1ca7a582f9
EXPRESSION_INDICES code is considered stable and therefore there's no need to keep it protected by macros. Please do a full rebuild.
2006-01-14 07:00:44 +00:00
dimitr
2e258f4cf9
Fixed BUGCHECK(205) related to ODS11 index changes.
2006-01-08 08:21:46 +00:00
robocop
c76a021f70
Misc.
2005-11-29 06:18:06 +00:00
hvlad
80827a5284
1. Move IDX\eval_expr_idx into BTR_eval_expression
...
2. Replace similar code in BTR_key by new BTR_eval_expression
3. Use EXE_find_request in index expression evaluation to avoid AV in case of using index simultaneously in some connections
2005-11-28 21:43:06 +00:00
robocop
85c48cb387
Misc.
2005-10-28 04:15:09 +00:00
hvlad
15ac3a9f47
Fixed SF #223060
...
Slow processing of GREATER-THEN operator
2005-10-27 21:52:17 +00:00
hvlad
0216a3d2f5
Don't allow to create primary key constraint on non-null fields with null values.
...
For example:
create table buggg (f1 int not null, f2 int not null);
commit;
insert into buggg values (1, 1)
commit;
alter table buggg add pk int not null primary key;
or
alter table buggg add constraint pk_buggg primary key (pk)
or
alter table buggg add constraint pk_buggg primary key (f1, f2, pk)
2005-10-26 15:11:51 +00:00
dimitr
48a377cd7a
Fixed server crashes caused by buffer overruns if too big index key was used.
2005-09-30 08:48:17 +00:00
robocop
6c89683142
Totally misc.
2005-07-31 00:45:38 +00:00
arnobrinkman
0725746548
Fix scope problem reported by Konstantin
2005-07-29 10:42:38 +00:00
arnobrinkman
14f667f4b6
Fix bug SF #1242982
...
Equality search on first segment (integer) in compound indexes resulted
in more scans on specific values (2^n, f.e. 131072) then needed.
2005-07-24 18:32:29 +00:00
dimitr
894fa1e011
Removed unused thread scheduling option.
2005-06-12 06:27:12 +00:00
asfernandes
59213efe7e
Merge INTL branch into HEAD
2005-05-27 22:45:31 +00:00
hvlad
7fd4f64863
Correct previous fix for multisegment descending indexes
2005-05-08 09:43:36 +00:00
hvlad
f1d576feb4
Fixed unregistered bug - "index key too big" when creating descending index
2005-05-07 19:45:57 +00:00
hvlad
493bdd92cd
Correct index validation code. Big thanks to Arno
2005-05-03 15:45:23 +00:00
hvlad
565b5e173b
Undo my previous commit. Duplicate chains in not null keys in unique indexes not sorted by design. Changes must be done in index validation code
2005-05-01 19:23:04 +00:00
hvlad
735f369d76
Duplicate chains not sorted by record number in unique indices
2005-04-30 10:10:48 +00:00
dimitr
92dbd6ae59
More complete fix for DESC indices.
2005-02-22 06:32:35 +00:00
arnobrinkman
11a7710b92
Fix segment-selectivity values for descending indexes, reported by Dmitry Yemanov
2005-02-21 20:07:24 +00:00