Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Answer: How do I lock tables using DBI and mySQL?

( #111667=categorized answer: print w/ replies, xml ) Need Help??

Q&A > database programming > How do I lock tables using DBI and mySQL? contributed by blakem

See the Lock Tables syntax in the MySQL documentation. Then wrap each sql query inside of something like:
$dbh->do(" ... ");

Comment on Answer: How do I lock tables using DBI and mySQL?
Download Code
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2016-02-10 01:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?





    Results (330 votes), past polls