mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-19 21:19:31 +02:00
fcl-db: sqlite: remove unused published property TSQLite3Connection.Options: TSqliteOptions, which hides newly added TSQLConnection.Options
git-svn-id: trunk@29252 -
This commit is contained in:
parent
c39128708e
commit
3fe277f2e4
@ -38,9 +38,6 @@ const
|
||||
type
|
||||
PDateTime = ^TDateTime;
|
||||
|
||||
TSqliteOption = (sloTransactions,sloDesignTransactions);
|
||||
TSqliteOptions = set of TSqliteOption;
|
||||
|
||||
TStringArray = Array of string;
|
||||
PStringArray = ^TStringArray;
|
||||
|
||||
@ -52,8 +49,6 @@ type
|
||||
TSQLite3Connection = class(TSQLConnection)
|
||||
private
|
||||
fhandle: psqlite3;
|
||||
foptions: TSQLiteOptions;
|
||||
procedure setoptions(const avalue: tsqliteoptions);
|
||||
protected
|
||||
procedure DoInternalConnect; override;
|
||||
procedure DoInternalDisconnect; override;
|
||||
@ -100,8 +95,6 @@ type
|
||||
// Warning: CollationName has to be a UTF-8 string
|
||||
procedure CreateCollation(const CollationName: string; eTextRep: integer; Arg: Pointer=nil; Compare: xCompare=nil);
|
||||
procedure LoadExtension(LibraryFile: string);
|
||||
published
|
||||
property Options: TSqliteOptions read FOptions write SetOptions;
|
||||
end;
|
||||
|
||||
{ TSQLite3ConnectionDef }
|
||||
@ -1055,15 +1048,6 @@ begin
|
||||
end;
|
||||
end;
|
||||
|
||||
procedure TSQLite3Connection.setoptions(const avalue: tsqliteoptions);
|
||||
begin
|
||||
if avalue <> foptions then
|
||||
begin
|
||||
checkdisconnected;
|
||||
foptions:= avalue;
|
||||
end;
|
||||
end;
|
||||
|
||||
|
||||
{ TSQLite3ConnectionDef }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user