Skip to Content.
Sympa Menu

freetds - RE: [freetds] Odd statement execution problem

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Will Saxon" <WillS AT housing.ufl.edu>
  • To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
  • Subject: RE: [freetds] Odd statement execution problem
  • Date: Mon, 23 Jun 2003 16:05:09 -0400



> -----Original Message-----
> From: Lowden, James K [mailto:LowdenJK AT bernstein.com]
> Sent: Monday, June 23, 2003 3:21 PM
> To: 'FreeTDS Development Group'
> Subject: RE: [freetds] Odd statement execution problem
>
>
> > From: Will Saxon [mailto:WillS AT housing.ufl.edu]
> Will,
>
> DBI includes a trace mechanism. Between that and the TDSDUMP
> log, perhaps
> you'll be able to tell what's wrong. To me, it looks like
> $dbh is being
> closed on you; $sql is probably fine. You can generate that
> same message
> this way:
>
> $ perl -e'print $s->state'
> Can't call method "state" on an undefined value at -e line 1.
>
> Have you installed an error handler (syb_err_handler)? If
> not, you might be
> missing a runtime error.
>
> HTH.

This problem has caused me to reevaluate the design of the script anyway - I
think actually my problem may be a 'my' where a 'local' would be more
appropriate. I hope this is the case, although I certainly spent a good hour
just fighting with that...

Thanks for the reply James.

-Will




Archive powered by MHonArc 2.6.24.

Top of Page