Subject | Re: [IBO] Server Version Info |
---|---|
Author | Lucas Franzen |
Post date | 2003-12-12T19:58:20Z |
Ed,
Ed Dressel schrieb:
definition:
TIB_ConnectCharacteristics = packed record
dbAllocation: longint;
dbLevelPrefix: byte;
dbBase_Level: byte;
dbFilePrefix: byte;
dbFile: string;
dbSite: string;
dbImplementationPrefix: byte;
dbImplementation: byte;
dbClass: byte;
dbNo_Reserve: byte;
dbForced_Writes: byte;
dbODS_Minor_Version: word;
dbODS_Version: word;
dbPage_Size: word;
dbVersionPrefix: byte;
dbVersion: string;
dbSweep_Interval: integer;
dbPage_Buffers: integer;
dbSQLDialect: integer;
dbReadOnly: boolean;
dbSizeInPages: integer;
end;
I think what you want is "dbVersion".
This gives, for example:
WI-T6.3.0.4027 Firebird 1.5 Release Candidate 7
Luc.
Ed Dressel schrieb:
> How do I get the server version info on a client?Generally: TIB_Connection.Characteristics
definition:
TIB_ConnectCharacteristics = packed record
dbAllocation: longint;
dbLevelPrefix: byte;
dbBase_Level: byte;
dbFilePrefix: byte;
dbFile: string;
dbSite: string;
dbImplementationPrefix: byte;
dbImplementation: byte;
dbClass: byte;
dbNo_Reserve: byte;
dbForced_Writes: byte;
dbODS_Minor_Version: word;
dbODS_Version: word;
dbPage_Size: word;
dbVersionPrefix: byte;
dbVersion: string;
dbSweep_Interval: integer;
dbPage_Buffers: integer;
dbSQLDialect: integer;
dbReadOnly: boolean;
dbSizeInPages: integer;
end;
I think what you want is "dbVersion".
This gives, for example:
WI-T6.3.0.4027 Firebird 1.5 Release Candidate 7
Luc.