It's a $dbh attribute. $dbh->{mysql_unsafe_bind_type_guessing} = 1;
The reason it's considered 'unsafe' is that, theoretically, it's a place where SQL Injection -could- occur. However, it's extremely unlikely, given the strictness of the parsing. (You can review the parsing yourself - it's in dbdimp.c) Rob On 1/24/06, John Siracusa <[EMAIL PROTECTED]> wrote: > On 1/24/06, Rob Kinyon <[EMAIL PROTECTED]> wrote: > > Ahhh ... there's a solution here. *grins* I provided a patch to > > DBD::mysql to do param type guessing using the undocumented > > mysql_unsafe_bind_type_guessing attribute > > Is that a connect option or a $dbh/$sth attribute? Can you give me an > example of that in use? If it works, I'd be fine with requiring > DBD::mysql 3.0+ for people who want to use bitfields with MySQL 5 > databases. > > -John > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmdlnk&kid3432&bid#0486&dat1642 > _______________________________________________ > Rose-db-object mailing list > Rose-db-object@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/rose-db-object > ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642 _______________________________________________ Rose-db-object mailing list Rose-db-object@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rose-db-object