소스 검색

fcl-db: datadict: when querying for table indexes use ServerIndexDefs instead of local IndexDef

git-svn-id: trunk@33087 -
lacak 9 년 전
부모
커밋
6ca424900b
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      packages/fcl-db/src/datadict/fpddsqldb.pp

+ 2 - 2
packages/fcl-db/src/datadict/fpddsqldb.pp

@@ -232,8 +232,8 @@ begin
     Q.SQL.text:=Format('SELECT * FROM %s WHERE (1=2)',[ATableName]);
     Q.ReadOnly:=False;
     Q.Prepare;
-    Q.IndexDefs.Update;
-    IndexDefsToDDIndexDefs(Q.IndexDefs,Defs);
+    Q.ServerIndexDefs.Update;
+    IndexDefsToDDIndexDefs(Q.ServerIndexDefs,Defs);
     Result:=Defs.Count;
   finally
     Q.Free;