Browse Source

fcl-db: sqlite: remove unused published property TSQLite3Connection.Options: TSqliteOptions, which hides newly added TSQLConnection.Options

git-svn-id: trunk@29252 -
lacak 10 years ago
parent
commit
3fe277f2e4
1 changed files with 0 additions and 16 deletions
  1. 0 16
      packages/fcl-db/src/sqldb/sqlite/sqlite3conn.pp

+ 0 - 16
packages/fcl-db/src/sqldb/sqlite/sqlite3conn.pp

@@ -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 }