ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/public/ibx/branches/udr/client/IB.pas
(Generate patch)

Comparing ibx/trunk/fbintf/IB.pas (file contents):
Revision 45 by tony, Tue Dec 6 10:33:46 2016 UTC vs.
Revision 47 by tony, Mon Jan 9 15:31:51 2017 UTC

# Line 119 | Line 119 | interface
119   uses
120    Classes, SysUtils, DB, FBMessages, IBExternals;
121  
122 + const
123 +  {Interface version information}
124 +  FBIntf_Major = 1;
125 +  FBIntf_Minor = 0;
126 +  FBIntf_Release = 1;
127 +  FBIntf_Version = '1.0.1';
128 +
129   {These include files are converted from the 'C' originals in the Firebird API
130   and define the various constants used by the API}
131  
# Line 581 | Line 588 | type
588      property Count: integer read getCount;
589    end;
590  
591 +
592 +  TPerfStats = (psCurrentMemory, psMaxMemory,
593 +                psRealTime, psUserTime, psBuffers,
594 +                psReads, psWrites, psFetches,psDeltaMemory);
595 +
596 +  TPerfCounters = array[TPerfStats] of Int64;
597 +
598    {The IStatement interface provides access to an SQL Statement once it has been
599     initially prepared. The interface is returned from the IAttachment interface.
600     }
# Line 600 | Line 614 | type
614      function GetAttachment: IAttachment;
615      function GetTransaction: ITransaction;
616      procedure SetRetainInterfaces(aValue: boolean);
617 +    procedure EnableStatistics(aValue: boolean);
618 +    function GetPerfStatistics(var stats: TPerfCounters): boolean;
619      property MetaData: IMetaData read GetMetaData;
620      property SQLParams: ISQLParams read GetSQLParams;
621      property SQLStatementType: TIBSQLStatementTypes read GetSQLStatementType;
# Line 832 | Line 848 | type
848      function OpenArray(transaction: ITransaction; RelationName, ColumnName: string; ArrayID: TISC_QUAD): IArray;
849      function CreateArray(transaction: ITransaction; RelationName, ColumnName: string): IArray; overload;
850      function CreateArray(transaction: ITransaction; ArrayMetaData: IArrayMetaData): IArray; overload;
851 +    function CreateArrayMetaData(SQLType: cardinal; tableName: string; columnName: string;
852 +                  Scale: integer; size: cardinal; charSetID: cardinal; dimensions: cardinal;
853 +                  bounds: TArrayBounds): IArrayMetaData;
854  
855      {Database Information}
856      function GetSQLDialect: integer;
# Line 967 | Line 986 | type
986      {Database connections}
987      function AllocateDPB: IDPB;
988      function OpenDatabase(DatabaseName: string; DPB: IDPB; RaiseExceptionOnConnectError: boolean=true): IAttachment;
989 <    function CreateDatabase(DatabaseName: string; DPB: IDPB; RaiseExceptionOnError: boolean=true): IAttachment;
989 >    function CreateDatabase(DatabaseName: string; DPB: IDPB; RaiseExceptionOnError: boolean=true): IAttachment; overload;
990 >    function CreateDatabase(sql: string; aSQLDialect: integer; RaiseExceptionOnError: boolean=true): IAttachment; overload;
991  
992      {Start Transaction against multiple databases}
993      function AllocateTPB: ITPB;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines