Explorar el Código

* SchemaInfoSQL-Statements are always read-only

git-svn-id: trunk@931 -
joost hace 20 años
padre
commit
eaf75955e8
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      fcl/db/sqldb/sqldb.pp

+ 1 - 0
fcl/db/sqldb/sqldb.pp

@@ -1032,6 +1032,7 @@ end;
 procedure TSQLQuery.SetSchemaInfo( SchemaType : TSchemaType; SchemaObjectName, SchemaPattern : string);
 
 begin
+  ReadOnly := True;
   SQL.Clear;
   SQL.Add((DataBase as tsqlconnection).GetSchemaInfoSQL(SchemaType, SchemaObjectName, SchemaPattern));
 end;