stupid DBI

Tim Bunce Tim.Bunce at pobox.com
Wed Aug 20 16:01:58 CDT 2003


On Wed, Aug 20, 2003 at 07:11:59PM +0100, Tony Bowden wrote:
> On Wed, Aug 20, 2003 at 02:52:40PM +0100, Jasper McCrea wrote:
> > why is this a driver issue and not a DBI issue? Surely DBI is sending
> > the parsed query or whatever to the SQL driver. DBI is not recognizing
> > that the ? is within a comment, and is expecting a variable to fill it
> > in. That can't be right.
> 
> I don't really know enough innards, but I'd like to think that 
> DBI doesn't know, nor want to know, what a valid comment is for any
> given database...

True. But drivers need to know enough to be able to count placeholders.

Tim.



More information about the Belfast-pm mailing list