Re: fetchrow_array warning and error in cleanup
- From: Tim.Bunce@xxxxxxxxx (Tim Bunce)
- Date: Fri, 4 Jan 2008 11:16:01 +0000
On Fri, Jan 04, 2008 at 10:13:52AM +0100, COUPRIE Kees wrote:
I'm using Perl 5.6.0 build 623 (Activestate), DBI 1.48 and DBD-ORACLE
1.12 on a Windows XP box. Not exactly the newest versions, I know, but
the company I work for is quite paranoid when it comes to using "new"
software, so I'm afraid that I'm stuck with these versions.
So far so good. The issue is that at the end of each query, after that
last record has been fetched, I get the following warning:
DBD::Oracle::st fetchrow_array warning: (err=0, errstr=undef,
state=undef) at C:\<path_to_script>.pl line <linenumber>.
That's a harmless warning caused by DBD::Oracle being too old relative to DBI.
Workaround by setting PrintWarn dbh attribute false.
Then at the very end of the script, even after the disconnect, I get:
(in cleanup) Can't call method "FETCH" on an undefined value at
C:/Perl/site/lib/Win32/TieRegistry.pm line 1486 during global destruction.
Old problem. I can't remember off-hand if upgrading DBI, or
Win32::TieRegistry will help. Check the archives.
Tim.
.
- References:
- fetchrow_array warning and error in cleanup
- From: COUPRIE Kees
- fetchrow_array warning and error in cleanup
- Prev by Date: fetchrow_array warning and error in cleanup
- Next by Date: installing DBD-Oracle-1.19
- Previous by thread: fetchrow_array warning and error in cleanup
- Next by thread: installing DBD-Oracle-1.19
- Index(es):
Relevant Pages
|
|