Had to create DBD::mysql::dr::imp_data_size unexpectedly
From: Karthik Krishnamurthy (karthik.k_at_extremix.net)
Date: 10/07/04
- Next message: Tim Bunce: "Re: dbi and mysql"
- Previous message: Paul Fitzpatrick: "trouble with driver Makefile"
- Next in thread: Tim Bunce: "Re: Had to create DBD::mysql::dr::imp_data_size unexpectedly"
- Reply: Tim Bunce: "Re: Had to create DBD::mysql::dr::imp_data_size unexpectedly"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: dbi-users@perl.org Date: Thu, 07 Oct 2004 10:14:38 +0530
Hi,
I am experiencing a strange error with DBI.
karthik@graf-spee:~/code/extremix/WFramework$ ./runtests
t/conf.........ok t/exception....ok t/session......ok 2/9Had to create DBD::mysql::dr::imp_data_size unexpectedly at /usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/DBI.pm line 1079.
Use of uninitialized value in subroutine entry at
/usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/DBI.pm line 1079.
Had to create DBD::mysql::db::imp_data_size unexpectedly at
/usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/DBI.pm line 1079.
Use of uninitialized value in subroutine entry at
/usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi/DBI.pm line 1079.
(in cleanup) Undefined subroutine &DBD::mysql::db::_login called at
/usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi/DBD/mysql.pm
line 129.
(in cleanup) Undefined subroutine &DBD::mysql::db::_login called at
/usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi/DBD/mysql.pm
line 129.
This happens when I am using Apache::Session::Flex to create a new MySQL
session. I searched for this error message on this list, but don't see
any concrete solutions even though other people seem to have faced this
problem.
The funny part is that the same code works when I try to invoke the test
file individually.
karthik@graf-spee:~/code/extremix/WFramework$ ./p t/session.t
1..9
# Running under perl version 5.008003 for linux
# Current time local: Thu Oct 7 10:09:33 2004
# Current time GMT: Thu Oct 7 04:39:33 2004
# Using Test.pm version 1.24
ok 1
ok 2
ok 3
ok 4
ok 5
ok 6
ok 7
ok 8
ok 9
karthik@graf-spee:~/code/extremix/WFramework$
Does anybody know what causes that error message to be printed ? I would
be grateful for any help on this issue.
TIA.
Regards,
Karthik Krishnamurthy
P.S.
Information about the software installed:
DBI - 1.44
Apache::Session - 1.6
Output of perl -V
Summary of my perl5 (revision 5.0 version 8 subversion 3) configuration:
Platform:
osname=linux, osvers=2.4.21-4.elsmp,
archname=i386-linux-thread-multi
uname='linux tweety.devel.redhat.com 2.4.21-4.elsmp #1 smp fri oct 3
17:52:56 edt 2003 i686 i686 i386 gnulinux '
config_args='-des -Doptimize=-O2 -g -pipe -march=i386 -mcpu=i686
-Dversion=5.8.3 -Dmyhostname=localhost -Dperladmin=root@localhost
-Dcc=gcc -Dcf_by=Red Hat, Inc. -Dinstallprefix=/usr -Dprefix=/usr
-Darchname=i386-linux -Dvendorprefix=/usr -Dsiteprefix=/usr -Duseshrplib
-Dusethreads -Duseithreads -Duselargefiles -Dd_dosuid -Dd_semctl_semun
-Di_db -Ui_ndbm -Di_gdbm -Di_shadow -Di_syslog -Dman3ext=3pm -Duseperlio
-Dinstallusrbinperl -Ubincompat5005 -Uversiononly -Dpager=/usr/bin/less
-isr -Dinc_version_list=5.8.2 5.8.1 5.8.0'
hint=recommended, useposix=true, d_sigaction=define
usethreads=define use5005threads=undef useithreads=define
usemultiplicity=define
useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS
-DDEBUGGING -fno-strict-aliasing -I/usr/local/include
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm',
optimize='-O2 -g -pipe -march=i386 -mcpu=i686',
cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING
-fno-strict-aliasing -I/usr/local/include -I/usr/include/gdbm'
ccversion='', gccversion='3.3.3 20040412 (Red Hat Linux 3.3.3-7)',
gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
alignbytes=4, prototype=define
Linker and Libraries:
ld='gcc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread -lc
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
libc=/lib/libc-2.3.3.so, so=so, useshrplib=true, libperl=libperl.so
gnulibc_version='2.3.3'
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic
-Wl,-rpath,/usr/lib/perl5/5.8.3/i386-linux-thread-multi/CORE'
cccdlflags='-fPIC', lddlflags='-shared -L/usr/local/lib'
- Next message: Tim Bunce: "Re: dbi and mysql"
- Previous message: Paul Fitzpatrick: "trouble with driver Makefile"
- Next in thread: Tim Bunce: "Re: Had to create DBD::mysql::dr::imp_data_size unexpectedly"
- Reply: Tim Bunce: "Re: Had to create DBD::mysql::dr::imp_data_size unexpectedly"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|