We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1379667 commit 86df390Copy full SHA for 86df390
src/jrd/sort.cpp
@@ -1047,6 +1047,13 @@ void Sort::diddleKey(UCHAR* record, bool direction)
1047
}
1048
else
1049
{
1050
+ if (complement && n)
1051
+ {
1052
+ UCHAR* pp = p;
1053
+ do {
1054
+ *pp++ ^= -1;
1055
+ } while (--n);
1056
+ }
1057
p[3] ^= 1 << 7;
1058
((Decimal64*)p)->grabKey(lwp);
1059
@@ -1060,6 +1067,13 @@ void Sort::diddleKey(UCHAR* record, bool direction)
1060
1067
1061
1068
1062
1069
1070
1071
1072
1073
1074
1075
1076
1063
1077
1064
1078
((Decimal128*)p)->grabKey(lwp);
1065
1079
0 commit comments