Changes in binding columns in DBD::ODBC

2012-05-20 Thread Martin J. Evans
As a result of a thread in the dvi-dev list I am proposing a change to the way DBD::ODBC binds columns. The changes are: 1. Columns described as SQL_INTEGER will be bound as SQL_C_LONG and hence retrieved as a C long and the bound scalar will be set using sv_setiv. This means the bound

Re: Changes in binding columns in DBD::ODBC

2012-05-20 Thread Greg Sabino Mullane
-BEGIN PGP SIGNED MESSAGE- Hash: RIPEMD160 1. Columns described as SQL_INTEGER will be bound as SQL_C_LONG and hence retrieved as a C long and the bound scalar will be set using sv_setiv .. 2. You cannot override the bound column type. +1, sounds sensible. - -- Greg Sabino