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

Comparing ibx/trunk/fbintf/IB.pas (file contents):
Revision 263 by tony, Thu Dec 6 15:55:01 2018 UTC vs.
Revision 270 by tony, Fri Jan 18 11:10:37 2019 UTC

# Line 73 | Line 73 | unit IB;
73   {$IFEND}
74   {$ENDIF}
75  
76 + {$IFNDEF LEGACYFIREBIRDAPIONLY}
77   {$DEFINE USEFIREBIRD3API}
78 + {$ENDIF}
79 + {$IFNDEF FIREBIRD3APIONLY}
80   {$DEFINE USELEGACYFIREBIRDAPI}
81 + {$ENDIF}
82  
83   {
84    This unit defines the interfaces used to provide the Pascal Language
# Line 131 | Line 135 | const
135    {Interface version information}
136    FBIntf_Major = 1;
137    FBIntf_Minor = 1;
138 <  FBIntf_Release = 3;
139 <  FBIntf_Version = '1.1.3';
138 >  FBIntf_Release = 4;
139 >  FBIntf_Version = '1.1.4';
140  
141   {These include files are converted from the 'C' originals in the Firebird API
142   and define the various constants used by the API}
# Line 407 | Line 411 | type
411      the output of an SQL Statement.
412    }
413  
414 +  TIBDateTimeFormats = (dfTimestamp, {SQL TIMESTAMP}
415 +                        dfDateTime,   {SQL DATETIME}
416 +                        dfTime);      {SQL TIME}
417 +
418    { IColumnMetaData }
419  
420    IColumnMetaData = interface
# Line 427 | Line 435 | type
435      function GetSize: cardinal;
436      function GetArrayMetaData: IArrayMetaData; {Valid only for Array SQL Type}
437      function GetBlobMetaData: IBlobMetaData; {Valid only for Blob SQL Type}
438 +    function GetDateTimeStrLength(DateTimeFormat: TIBDateTimeFormats): integer;
439      property Name: AnsiString read GetName;
440      property Size: cardinal read GetSize;
441      property SQLType: cardinal read GetSQLType;
# Line 911 | Line 920 | type
920      function Prepare(transaction: ITransaction; sql: AnsiString; aSQLDialect: integer): IStatement; overload;
921      function Prepare(transaction: ITransaction; sql: AnsiString): IStatement; overload;
922      function PrepareWithNamedParameters(transaction: ITransaction; sql: AnsiString;
923 <                       aSQLDialect: integer; GenerateParamNames: boolean=false): IStatement; overload;
923 >                       aSQLDialect: integer; GenerateParamNames: boolean=false;
924 >                       CaseSensitiveParams: boolean = false): IStatement; overload;
925      function PrepareWithNamedParameters(transaction: ITransaction; sql: AnsiString;
926 <                       GenerateParamNames: boolean=false): IStatement; overload;
926 >                       GenerateParamNames: boolean=false;
927 >                       CaseSensitiveParams: boolean = false): IStatement; overload;
928  
929      {Events}
930      function GetEventHandler(Events: TStrings): IEvents; overload;
# Line 948 | Line 959 | type
959      function GetSecurityDatabase: AnsiString;
960      function GetODSMajorVersion: integer;
961      function GetODSMinorVersion: integer;
962 +    procedure getFBVersion(version: TStrings);
963      function HasActivity: boolean;
964  
965      {Character Sets}

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines