|
From: Ann W. H. <aha...@ib...> - 2001-09-21 15:52:32
|
Everyone,
Now that I've got the version code in and working, it's time
to discuss the message and get it right.
This is the message that isc_version will return:
Firebird/x86/Windows NT (access method), version "WI-T6.2
or more correctly WI-T1.0.0.<build no> Firebird Beta2"
The components of the message are:
Firebird/x86/Windows NT - from the array impl_implemenations in
utl.c, indexed by the implementation number returned for
the isc_info_implementation db_info call.
access method - from an array of classes in utl.c, indexed by
the second part of the return to isc_info_implementation.
WI - comes from the platform definition in license.h
T - comes from build_no.h
6 - hard coded in license.h as ISC_MAJOR_VER
2 - hard coded in license.h as ISC_MAJOR_VER
WI - again from platform definition in license.h
T - from build_no.h, FB_BUILD_TYPE
1 - from build_no.h, FB_MAJOR_VER
0 - from build_no.h, FB_MINOR_VER
0 - from build_no.h, FB_REV_NO
<build no> - from build_no.h, FB_BUILD_NO
Firebird Beta2 - from build_no.h, FB_BUILD_SUFFIX
The parameter isc_info_firebird_version will return this:
WI-T1.0.0.<build no> Firebird Beta2
The parameter isc_info_isc_version will return this:
WI-T6.2\n\tor more correctly WI-T1.0.0.<build no> Firebird Beta2
Cheers,
Ann
|