Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

How to remove the warning: "there is already a transaction in progress" when using lock table

by angeloulivieri (Novice)
on Apr 13, 2016 at 20:08 UTC ( #1160340=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $dbh = DBI->connect($dsn, $user, $pass, { RaiseError => 1, AutoCommit 
    +=> 0 });
            #Here we open a locked access to the database 
            my $select_handle;
    ...
                ###CODE
             $dbh->do("COMMIT WORK");  
            };
    
  2. or download this
    WARNING:  there is already a transaction in progress
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://1160340]
Approved by Discipulus
Front-paged by cavac
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (2)
As of 2022-12-03 22:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?