Re: DBI version, #defines in c driver code

Tim Bunce <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.dbi.sybase.devel
Message-ID <[email protected]>
On Fri, Aug 15, 2008 at 06:44:20AM -0400, Patrick Galbraith wrote:
> Hi all,
>
> I have in DBD::mysql #define TAKE_IMP_DATA_VERSION in dbdimp.c. For some 
> people, enabled this causes a segfault. I haven't been able to reproduce it 
> on my own test boxes, but there is definitely an issue, so I would like to 
> define this only if DBI is the latest version.
>
> What is the means of setting this according to DBI version? At first, I 
> thought to use DBIXS_VERSION, but that value of that only changes to the 
> interface and doesn't correspond to actual $DBI::VERSION. What could be 
> used that would correspond to actual DBI version?

DBIXS_REVISION tracks the subversion revision number. (See dbixs_rev.pl)

Tim.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.