* Fix bug ID #33448 (AV getting index name)

git-svn-id: trunk@38549 -
This commit is contained in:
michael 2018-03-17 15:08:38 +00:00
parent f61c37ecc9
commit 8fdf4b2cc3

View File

@ -3028,7 +3028,7 @@ end;
function TCustomBufDataset.GetIndexName: String;
begin
if FIndexes.Count>0 then
if (FIndexes.Count>0) and (CurrentIndexBuf <> nil) then
result := CurrentIndexBuf.Name
else
result := FIndexName;