By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,426 Members | 3,407 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,426 IT Pros & Developers. It's quick & easy.

recordset error/perl messages

P: n/a
Hi All,

I have a problem using DBIx::RecordSet. I get correct results but continue
to get these messages on stderr. I looked at and it seems to be
pointing out a problem with my call to Setup. Could anyone (much thanks)
shed some light on my tired eyes? See below...


code sample:
*set = DBIx::Recordset-> Setup ( {'!DataSource' => "dbi:mysql:database=$opt_db;host=",
'!Username' => $user,
'!Password' => $password,
'!Table' => $opt_table,
} );
error message:
gen1:/home/mysql_dev # ./ -d t -t abc
returning default for NumericTypes on driver mysql at /usr/lib/perl5/site_perl/5.8.1/DBIx/ line 517
DBIx::Compat::GetItem('mysql','NumericTypes') called at /usr/lib/perl5/site_perl/5.8.1/DBIx/ line 212
DBIx::Database::Base::QueryMetaData('DBIx::Records et=HASH(0x8538138)','abc') called at /usr/lib/perl5/site_perl/5.8.1/DBIx/ line 240
DBIx::Recordset::SetupDBConnection('DBIx::Recordse t=HASH(0x8538138)','dbi:mysql:database=t;host=127. 0.0.1','abc','root','sql!my','undef') called at /usr/lib/perl5/site_perl/5.8.1/DBIx/ line 334
DBIx::Recordset::New('DBIx::Recordset','dbi:mysql: database=t;host=','abc','root','sql!my',' undef') called at /usr/lib/perl5/site_perl/5.8.1/DBIx/ line 432
DBIx::Recordset::SetupObject('DBIx::Recordset','HA SH(0x85381b0)') called at /usr/lib/perl5/site_perl/5.8.1/DBIx/ line 595
DBIx::Recordset::Setup('DBIx::Recordset','HASH(0x8 5381b0)') called at ./ line 194
main::dump_table('dbi:mysql:database=t;host=127.0. 0.1','root','sql!my','abc','','') called at ./ line 51
main::main_routine('t','abc','undef','') called at ./ line 32

my version of perl:
Summary of my perl5 (revision 5.0 version 8 subversion 1) configuration:
osname=linux, osvers=2.6.0-test3, archname=i586-linux-thread-multi
uname='linux g8 2.6.0-test3 #1 smp fri nov 14 00:07:01 utc 2003 i686 i686 i386 gnulinux '
config_args='-ds -e -Dprefix=/usr -Dvendorprefix=/usr -Dinstallusrbinperl -Dusethreads -Di_db -Di_dbm -Di_ndbm -Di_gdbm -Duseshrplib=true -Doptimize=-O2 -march=i586 -mcpu=i686 -fmessage-length=0 -Wall -pipe'
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
optimize='-O2 -march=i586 -mcpu=i686 -fmessage-length=0 -Wall -pipe',
cppflags='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing'
ccversion='', gccversion='3.3.1 (SuSE Linux)', 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='cc', ldflags =''
libpth=/lib /usr/lib /usr/local/lib
libs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
libc=, so=so, useshrplib=true,
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic -Wl,-rpath,/usr/lib/perl5/5.8.1/i586-linux-thread-multi/CORE'
cccdlflags='-fPIC', lddlflags='-shared'
Characteristics of this binary (from libperl):
Built under linux
Compiled at Dec 10 2003 09:22:12
Jul 19 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.