Browse Source

* SchemaInfoSQL-Statements are always read-only

git-svn-id: trunk@931 -
joost 20 years ago
parent
commit
eaf75955e8
1 changed files with 1 additions and 0 deletions
  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;