Re: Changes in binding columns in DBD::ODBC

Tim <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.dbi.sybase.devel
Message-ID <[email protected]>
On Mon, May 21, 2012 at 02:50:02AM -0000, Greg Sabino Mullane wrote:
> 
> > 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.

It does. Though I suspect people using code that depends on the internal
numeric vs string distinction will encounter problems.

One example that springs to mind is JSON serialization
http://search.cpan.org/~mlehmann/JSON-XS/XS.pm#PERL_-%3E_JSON

Tim.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.