Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: $DBI::errstr is always undef

by Joost (Canon)
on Mar 02, 2007 at 22:05 UTC ( #602970=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    my $qry = $dbh->prepare(q{ select BAD__column from users where id=1254
    +3256 }) or die "Prepare bad: $DBI::errstr";
    
    $qry->execute();
    
  2. or download this
    DBD::mysql::st execute failed: Table 'test.users' doesn't exist at tes
    +t.pl line 8.
    Issuing rollback() for database handle being DESTROY'd without explici
    +t disconnect().
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://602970]
help
Chatterbox?
[Corion]: LanX: No, Co-Rion appears as Monkey God :-)
[Corion]: Mr. Muskrat: Yeah, that message is automatic when the "normal" reparenting is done, but I think some rows that make up the node were not added to the DB properly

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (14)
As of 2017-01-19 16:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (170 votes). Check out past polls.