[unixODBC-support] DBD::ODBC Hangs on t/20SqlServer.t Multiple_concurrent_stmts()

Nick Gorham nick at lurcher.org
Tue Apr 5 17:18:42 BST 2011


On 05/04/11 17:09, eric.berg at barclayscapital.com wrote:
>
> Perl 5.12.3
>
> DBI 1.11
>
> DBD::ODBC 1.29
>
> FreeTDS 0.83
>
> unixODBC 2.3.0
>
> unixODBC's isql is working to make my connections, and a bunch of the 
> tests pass, but when it gets to the first test in 
> Multiple_concurrent_stmts() on around line 670 or so in 
> t/20SqlServer.t, my test just hangs.
>
> Here's the DBI trace output:
>
>     -> STORE for DBD::ODBC::db (DBI::db=HASH(0x363a420)~INNER 
> 'RaiseError' 1)
>
>     !!DBD::ODBC unsupported attribute passed (RaiseError)
>
>     STORE DBI::db=HASH(0x363a420) 'RaiseError' => 1
>
> <- STORE= ( 1 ) [1 items] at 20SqlServer.t line 196 via  at 
> 20SqlServer.t line 691
>
>     -> execute for DBD::ODBC::st (DBI::st=HASH(0x3639b68)~0x3639b08)
>
>     +dbd_st_execute(3639cd0)
>
>     dbd_st_finish(3639cd0)
>
> Basically, it just hangs.  Sort of seems like a multiple result set 
> issue, but I don't see how.
>
> Eric
>

I would have to guess thats a driver issue, that test passes with 
unixODBC and a driver that does do multiple active statements.

-- 
Nick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.unixodbc.org/pipermail/unixodbc-support/attachments/20110405/c48f3972/attachment.html>


More information about the unixODBC-support mailing list