Attached to this email is a patch to DBD::ODBC in subversion (as of this morning) which:
Fixes: Fix bug in dbd_bind_ph which leads to the error Can't change param 1 maxlen (51->50) after first bind in the 20SqlServer test. This is caused by svGROW in Perl 5.8.8 being changed to possibly grow by more than you asked (e.g. up to the next longword boundary). Fix problem with binding undef as an output parameter. Reported by Stephen More with IBM's ODBC driver for iSeries. Removed comment delimiters in comments in dbdimp.h leading to warnings. Removed some unused variable declarations leading to warnings. Fixed use of unitialised variable in dbd_bind_ph where an undef is bound and tracing is enabled. and changes: Removed PerlIO_flush calls as it is believed they are not required. Add logging for whether SQLDescribeParam is supported. Also note, that the current test suite fails some tests when connected to MS SQL Server 2005 or Express - I don't have fixes for those as yet but I will be working on it. Changes applied to the files: Changes, README, dbdimp.h and dbdimp.c Steve More. If you want to try this you'll need to check a DBD::ODBC from subversion and apply the patch to that - see the pod in DBD::ODBC for instructions. After you've done that you should be able to bind an undef output parameter. I also have a change for a problem getting ParamValues after an execute has failed e.g. in an error handler, which I sent to Jeff some months ago but he did not seem as convinced by it. I use it all the time but it is not included here. I welcome any comments or feedback. Martin -- Martin J. Evans Easysoft Ltd, UK http://www.easysoft.com
dbd_odbc_combined_patch
Description: dbd_odbc_combined_patch
