From: Patrick J. P. G. <Pat...@wo...> - 2001-01-02 05:52:11
|
Mark; Sure, In tcs/gds_drop/drop.c First: /* extract the version into global variables */ version = 0; isc_version(&db_handle, get_version, 0); Then: /* if the version is 4.0 then try isc_drop_database */ if (version >= 40) { ...pat -----Original Message----- From: fir...@li... [mailto:fir...@li...] On Behalf Of Mark O'Donohue Sent: Tuesday, January 02, 2001 12:48 AM To: fir...@li... Subject: Re: [Firebird-test] drop_gds side effect Hi Pat Could you give me a clue (like a file and function name ;-). I've greped for gds_drop and had a brief look but there is nothing specific that I can try down to what your saying here. But what you are saying here sounds like you are looking at a specific line of code. Im interested, because if I have missed this comparison, there may be others. At the time I checked fairly extensively for usage of IB_MAJOR_VER, IB_MINOR_VER and GDS_VERSION. Cheers Mark Patrick J. P. Griffin wrote: > Mark, I believe this is result of changing the Major version from 6 to 0. > drop_gds is checking the Major and Minor Version ID before selecting > routines. > > ...pat > > -----Original Message----- > From: fir...@li... > [mailto:fir...@li...] On Behalf Of Mark > O'Donohue > Sent: Monday, January 01, 2001 10:46 PM > To: fir...@li... > Subject: Re: [Firebird-test] drop_gds side effect > > > Hi Pat > > Thanks for that, I'll try and verify it. I presume your aware that the > changes are related to a security issue, and that some of the cvs > history has now been wiped (local copy kept of course). > > Cheers > > Mark > > > Patrick J. P. Griffin wrote: > > >> F.Y.I. I've noticed that the latest Firebird build (in my case > > PA-T0.9.4.43 > >> Firebird Test1) has an unpleasant side-effect on drop_gds when attempting > > to > >> drop a database on a remote system. This problem did not exist in build >> PA-T6.0.9.32. >> >> Drop_gds is using the isc_version call and selects different routines when >> running with versions greater than 4.0. >> >> I'm sorry I'm not able to look at this problem closer at the moment. >> >> ...pat >> p.s. Since I have no interest in versions of IB less than 4.0 I simply >> hacked on my copy gds_drop. >> >> >> >> _______________________________________________ >> Firebird-test mailing list >> Fir...@li... >> http://lists.sourceforge.net/mailman/listinfo/firebird-test > > > > -- > Your database needs YOU! > http://firebird.sourceforge.net > > > _______________________________________________ > Firebird-test mailing list > Fir...@li... > http://lists.sourceforge.net/mailman/listinfo/firebird-test > > > _______________________________________________ > Firebird-test mailing list > Fir...@li... > http://lists.sourceforge.net/mailman/listinfo/firebird-test -- Your database needs YOU! http://firebird.sourceforge.net _______________________________________________ Firebird-test mailing list Fir...@li... http://lists.sourceforge.net/mailman/listinfo/firebird-test |