mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 07:09:23 +02:00
* SchemaInfoSQL-Statements are always read-only
git-svn-id: trunk@931 -
This commit is contained in:
parent
18b080f47e
commit
eaf75955e8
@ -1032,6 +1032,7 @@ end;
|
|||||||
procedure TSQLQuery.SetSchemaInfo( SchemaType : TSchemaType; SchemaObjectName, SchemaPattern : string);
|
procedure TSQLQuery.SetSchemaInfo( SchemaType : TSchemaType; SchemaObjectName, SchemaPattern : string);
|
||||||
|
|
||||||
begin
|
begin
|
||||||
|
ReadOnly := True;
|
||||||
SQL.Clear;
|
SQL.Clear;
|
||||||
SQL.Add((DataBase as tsqlconnection).GetSchemaInfoSQL(SchemaType, SchemaObjectName, SchemaPattern));
|
SQL.Add((DataBase as tsqlconnection).GetSchemaInfoSQL(SchemaType, SchemaObjectName, SchemaPattern));
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user