DBD::Sybase $dbh->clone errors...

From: Amonotod (amonotod_at_charter.net)
Date: 01/17/05


To: <dbi-users@perl.org>
Date: Mon, 17 Jan 2005 10:53:32 -0600


Hello all,
  Now, I'm not sure this is an error, since it does succeed, but the attached script will produce a warning about an unknown attribute. What I'm doing is connecting to a Sybase server, cloning the connection, running a query, and then running another query based off of the first one.

  There are better ways to do the example included, but this is strictly for demonstration of the warning.

  The warning I get when running the script is:
Can't set DBI::db=HASH(0x19f8860)->{User}: unrecognised attribute or invalid value at C:/Perl/site/lib/DBI.pm line 645.

  I'm not sure if the message is from DBI or from the DBD, but it does show up...

Environment:
Windows XP Professional SP2
Sybase 11.9.2 client (With 11.9.2 server on Win2K AS sp4)
ActivePerl 5.8.3
DBI 1.43
DBD::Sybase 1.04.6

Thanks for any recommendations...
amonotod

--
    `\|||/         amonotod@    | sun|perl|windows
      (@@)         charter.net  | sysadmin|dba
  ooO_(_)_Ooo____________________________________
  _____|_____|_____|_____|_____|_____|_____|_____|




Relevant Pages

  • Re: Problems while installing PERL (DBD::DB2 module)
    ... Could there be several DBI ... What are the command line options when you build the ... successfully install DBI (or something went radically wrong, ... dbdimp.h:18: warning: data definition has no type or storage class ...
    (perl.dbi.users)
  • RE: getting rid of the "Issuing rollback()" warning
    ... It's an excellent idea for the DBI to fake certain things when it makes ... But transaction control is not one of them. ... getting rid of the "Issuing rollback" warning ... many drivers and database API's can't tell if they are or not. ...
    (perl.dbi.users)
  • DBI compile fails in Solaris 10
    ... Below is the output I get when I try to do a make on the DBI module in ... This works fine on Solaris I was wondering if I need an ... Perl.c:125: warning: unused parameter `cv' ...
    (perl.dbi.users)
  • Re: DBI: misuse of %lx and %ld formats
    ... I have pasted a transcript of the DBI compilation below. ... In the meanwhile I will retreat to a 32 bit perl. ... DBI.xs:1289: warning: value computed is not used ... Extracted dbiprof from dbiprof.PL with variable substitutions. ...
    (perl.dbi.users)
  • fetchrow_array warning and error in cleanup
    ... I am quite new to using DBI and am running into something odd. ... I get the following warning: ... Then at the very end of the script, even after the disconnect, I get: ... The database connection and queries seem to be working fine, ...
    (perl.dbi.users)