Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > recordset error/perl messages

Reply
Thread Tools

recordset error/perl messages

 
 
gary artim
Guest
Posts: n/a
 
      02-06-2004
Hi All,

I have a problem using DBIx::RecordSet. I get correct results but continue
to get these messages on stderr. I looked at Compat.pm 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...

Gary

code sample:
*set = DBIx::Recordset-> Setup ( {'!DataSource' => "dbi:mysql:database=$opt_db;host=127.0.0.1",
'!Username' => $user,
'!Password' => $password,
'!Table' => $opt_table,
} );


error message:
gen1:/home/mysql_dev # ./dbutil.pl -d t -t abc
returning default for NumericTypes on driver mysql at /usr/lib/perl5/site_perl/5.8.1/DBIx/Compat.pm line 517
DBIx::Compat::GetItem('mysql','NumericTypes') called at /usr/lib/perl5/site_perl/5.8.1/DBIx/Database.pm line 212
DBIx:atabase::Base::QueryMetaData('DBIx::Records et=HASH(0x853813','abc') called at /usr/lib/perl5/site_perl/5.8.1/DBIx/Recordset.pm line 240
DBIx::Recordset::SetupDBConnection('DBIx::Recordse t=HASH(0x853813','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/Recordset.pm line 334
DBIx::Recordset::New('DBIx::Recordset','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/Recordset.pm line 432
DBIx::Recordset::SetupObject('DBIx::Recordset','HA SH(0x85381b0)') called at /usr/lib/perl5/site_perl/5.8.1/DBIx/Recordset.pm line 595
DBIx::Recordset::Setup('DBIx::Recordset','HASH(0x8 5381b0)') called at ./dbutil.pl line 194
main::dump_table('dbi:mysql:database=t;host=127.0. 0.1','root','sql!my','abc','','') called at ./dbutil.pl line 51
main::main_routine('t','abc','undef','') called at ./dbutil.pl line 32



my version of perl:
Summary of my perl5 (revision 5.0 version 8 subversion 1) configuration:
Platform:
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
Compiler:
cc='cc', ccflags ='-D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64',
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, libperl=libperl.so
gnulibc_version='2.3.2'
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):
Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT
Built under linux
Compiled at Dec 10 2003 09:22:12
@INC:
/usr/lib/perl5/5.8.1/i586-linux-thread-multi
/usr/lib/perl5/5.8.1
/usr/lib/perl5/site_perl/5.8.1/i586-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.1
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.1/i586-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.1
/usr/lib/perl5/vendor_perl
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
absence of router advertisment messages in reponse to roiuter solicitation messages sonia sainani Software 0 10-20-2006 09:20 AM
i sent 2 messages about double messages monique Computer Support 0 11-27-2004 07:18 PM
will all these messages cause a problem . I am a new subscriber and my computer is downloading 100,000 messages. Will this cause any kind of a problem with my ability to store other items?? Camille White Camille White Computer Support 9 11-08-2004 01:13 AM
recordset error/perl messages gary artim Perl 0 02-06-2004 01:50 AM
RecordSet.Move or RecordSet.AbsolutePosition?? Hung Huynh ASP General 8 09-24-2003 11:07 AM



Advertisments