mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 09:06:02 +02:00
* propagate ixDescending in bufdataset. Patch by Hert van Zwietering, Mantis #20043
git-svn-id: trunk@19496 -
This commit is contained in:
parent
43e9ffca3b
commit
f005d71110
@ -916,7 +916,7 @@ begin
|
|||||||
AField := TField(IndexFields[FieldNr]);
|
AField := TField(IndexFields[FieldNr]);
|
||||||
ProcessFieldCompareStruct(AField,DBCompareStruct[FieldNr]);
|
ProcessFieldCompareStruct(AField,DBCompareStruct[FieldNr]);
|
||||||
|
|
||||||
DBCompareStruct[FieldNr].Desc := (DescIndexFields.IndexOf(AField)>-1);
|
DBCompareStruct[FieldNr].Desc := (DescIndexFields.IndexOf(AField)>-1) or (ixDescending in Options);
|
||||||
if (CInsIndexFields.IndexOf(AField)>-1) then
|
if (CInsIndexFields.IndexOf(AField)>-1) then
|
||||||
DBCompareStruct[FieldNr].Options := [loCaseInsensitive]
|
DBCompareStruct[FieldNr].Options := [loCaseInsensitive]
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user