talexb has asked for the wisdom of the Perl Monks concerning the following question:
I'm getting a weird error from DBI by way of DBD::DB2. The code I'm executing is
and in the Apache error log I seewarn "SessionId: $session_id"; $self->{sth_get}->execute($session_id) or die "Get failed with sessionId: $session_id: " . $self->{sth_get}->errstr;
The problem is, I'm not doing a bind -- I'm passing the session ID in as a variable.[Thu Feb 18 11:17:12 2010] null: SessionId: 0141b97a2b7b743db5de4feb6f +0990654954b556 at (file) line 288 [Thu Feb 18 11:17:12 2010] [error] [Thu Feb 18 11:17:12 2010] null: DB +D::DB2::st execute failed: Bind failed at (file) line 289
Suggestions?
Alex / talexb / Toronto
Team website: Forex Chart Monkey, Forex Technical Analysis and Pickpocket Prevention
"Groklaw is the open-source mentality applied to legal research" ~ Linus Torvalds
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: DBD::DB2::st execute failed: Bind failed
by kennethk (Abbot) on Feb 18, 2010 at 16:50 UTC | |
by talexb (Chancellor) on Feb 18, 2010 at 17:47 UTC | |
by mje (Curate) on Feb 18, 2010 at 17:59 UTC | |
by kennethk (Abbot) on Feb 18, 2010 at 18:05 UTC |