Re: DBD::ODBC Destroy bug?

2015-05-30 Thread Joel Plotkin
Hi, I think this issue can now be closed. Frediano Ziglio was able to add some changes to the FreeTDS driver to fix the issues. Here's the comments from applicable the Git changes (I think): Allow to close cursors and prepared statement when connection is idle Using ODBC is possible that

Re: DBD::ODBC Destroy bug?

2015-04-08 Thread Tim Bunce
On Wed, Apr 01, 2015 at 03:20:31PM +0100, Martin J. Evans wrote: However, having said all that I didn't see you were using freeTDS until the last email. I've seen an issue with freeTDS returning and error status and then not supplying the reason before. I have to say at this point I'm

Re: DBD::ODBC Destroy bug?

2015-04-01 Thread Martin J. Evans
On 01/04/15 05:36, Joel Plotkin wrote: Hi Martin, I've attached a odbc device driver log (sql.log) and the dbi trace log at level 15 (x.log). Hope this helps, Joel Joel, Thanks for the logs but I'm not sure you are going to be too pleased with my analysis. There are a few points where I

Re: DBD::ODBC Destroy bug?

2015-03-31 Thread Martin J. Evans
On 31/03/15 06:04, Joel Plotkin wrote: Hi, I've attached the sample test8.pl http://test8.pl script (smallest one possible that creates the problem) and a trace file at level 15. Thanks for any insight, Joel -dbd_st_execute(ac3cb0)=-1 - execute= -1 at test8.pl line 74 via at

Re: DBD::ODBC Destroy bug?

2015-03-30 Thread Joel Plotkin
Hi, I've attached the sample test8.pl script (smallest one possible that creates the problem) and a trace file at level 15. Thanks for any insight, Joel dbi_trace.dat Description: Binary data test8.pl Description: Binary data

Re: DBD::ODBC Destroy bug?

2015-03-25 Thread Martin J. Evans
On 24/03/15 18:04, Joel Plotkin wrote: Hi, A few notes: 1) the final return; at the end of Main was a typo... I was trying to clean up the example and had consolidated an additional sub-routine into one big main() function even w/ this typo, I still get the original error as described

Re: DBD::ODBC Destroy bug?

2015-03-25 Thread Joel Plotkin
Hi, Are you running under Windows or Linux? We don't see the issue under ActiveState Perl- just under Linux/Centos. Also, if it matters, we're running FreeTDS and UnixODBC. unixODBC.x86_64 2.2.14-14.el6 @base unixODBC-devel.x86_64 2.2.14-14.el6 @base

Re: DBD::ODBC Destroy bug?

2015-03-25 Thread Martin J. Evans
On 25/03/15 16:29, Joel Plotkin wrote: Hi, Are you running under Windows or Linux? We don't see the issue under ActiveState Perl- just under Linux/Centos. Linux Ubuntu 12.04.5 LTS Also, if it matters, we're running FreeTDS and UnixODBC. I am also running unixODBC. unixODBC.x86_64

DBD::ODBC Destroy bug?

2015-03-24 Thread Joel Plotkin
Hi, I have recently ported a large (1.4M line) perl application from: Centos 6.6 DBI version 1.6.09 DBD::ODBC version 1.23 To: Centos 6.6 DBI version 1.6.33 DBD::ODBC version 1.50 (and same issue with 1.50_4) The error doesn't occur in the 1.23 version, only the later 1.50* versions. This

Re: DBD::ODBC Destroy bug?

2015-03-24 Thread Martin J. Evans
On 24/03/15 15:45, Joel Plotkin wrote: Hi, I have recently ported a large (1.4M line) perl application from: Centos 6.6 DBI version 1.6.09 DBD::ODBC version 1.23 To: Centos 6.6 DBI version 1.6.33 DBD::ODBC version 1.50 (and same issue with 1.50_4) The error doesn't occur in the 1.23

Re: DBD::ODBC Destroy bug?

2015-03-24 Thread Joel Plotkin
Hi, A few notes: 1) the final return; at the end of Main was a typo... I was trying to clean up the example and had consolidated an additional sub-routine into one big main() function even w/ this typo, I still get the original error as described previously. 2) I (just) tried to get the

Re: DBD::ODBC Destroy bug?

2015-03-24 Thread Joel Plotkin
Hi, We've now tested it under Perl 5.20.2 (on Centos 6) and still get the same error. Joel Ps. Yes- we now understand that $st-finish() is no longer needed. Even if this is commented out, we still get the same issue. On Tue, Mar 24, 2015 at 2:04 PM, Joel Plotkin jplotki...@gmail.com wrote: