Home  |  Linux  | Mysql  | PHP  | XML
From:Tim Bunce Date:Fri Aug 15 07:25:17 2008
Subject:Re: DBI version, #defines in c driver code
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.
Navigate in group perl.dbi.dev at sever nntp.perl.org
Previous Next




  
© No Copyright
You are free to use Anything
Site Maintained by PHP Developer
Powered By PHP Consultants