> 
> 
> > I think it's a bug, but I don't believe it's in my control at this 
> > point.
> 
> The odd thing is that it worked with DBD::ODBC 0.43, but 
> according to the changelog, the SQLExecDirect optimization 
> for "do" was added in 0.35. Unfortunately, I don't have any 
> systems setup with 0.43 anymore to test on, though :-(

Probably true, since somewhere along the line I added support for SQLExecDirect to 
support
some systems which don't do anything with SQLPrepare and SQLExecute.  I suppose I could
try to honor the odbc_execdirect flag, too, that way anyone who wants SQLExecDirect 
could
truly control it and not get surprised.  The odbc_execdirect flag was originally 
intended
to support SQLExecDirect for prepare/execute, but I could extend it, but this seems 
like
an edge case and, if it wouldn't cause you a problem, I'd plan on leaving it to not 
break
others existing code.

Regards,

Jeff


Reply via email to