* SMall fix so hopefully it compiles with 2.2.2 - bug ID #12637

git-svn-id: trunk@17400 -
This commit is contained in:
michael 2008-11-15 17:49:15 +00:00
parent 897938b8e4
commit 95cbfe6e7e

View File

@ -424,7 +424,11 @@ begin
eotIndex:
begin
POT:=eotIndexes;
{$ifdef onlyoldobjects}
Result:=TD.Indexes.AddIndexDef(AObjectName);
{$else}
Result:=TD.Indexes.AddIndex(AObjectName);
{$endifdef}
II:=IIIndex;
end;
{$ifndef onlyoldobjects}