MySqlTalk.com  

Go Back   MySqlTalk.com > MySQL > General
User Name
Password
FAQ Members List Calendar Search Today's Posts Mark Forums Read


Reply
 
Thread Tools Search this Thread
Old 04-13-2006, 04:54 AM   #1
hessodreamy
Junior Member
 
Join Date: May 2005
Posts: 9 hessodreamy is on a distinguished road
Record Locks - is it possible?

I can't seem to find an answer in the literature, but is it possible in 4.1 to place a lock on a particular record? Say, to prevent changes to the record while being viewed.

There's plenty on table locks but no record locks. Are these not supported?
hessodreamy is offline   Fork this post Reply With Quote
Old 04-13-2006, 10:50 AM   #2
Azkaban
Senior Member
 
Join Date: Jul 2004
Posts: 167 Azkaban is on a distinguished road
Re: Record Locks - is it possible?

There was talk of record-level locking. If I remember correctly, this was an issue that mysql.com fought mysql.org over and brought about their splitting up companies. Later on I think mysql.com did win a squabble and got the rights for the mysql.org domain. I believe there is a version out there that features row locking, but it is a version that requires payment. That was the status last time I checked. I'm going to see if I can find out more.
__________________
** Most misspellings intentional to combat spaham filterz**
Azkaban is offline   Fork this post Reply With Quote
Old 04-13-2006, 10:53 AM   #3
Azkaban
Senior Member
 
Join Date: Jul 2004
Posts: 167 Azkaban is on a distinguished road
Re: Record Locks - is it possible?

Here you go, you need mysql version 5 AND the database has to be of type INNODB.
http://dev.mysql.com/doc/refman/5.0/...l-locking.html
__________________
** Most misspellings intentional to combat spaham filterz**
Azkaban is offline   Fork this post Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do you pull every 40th record out of a table? Azkaban SQL syntax 1 01-18-2005 04:36 AM
Configure an MX record Azkaban Sendmail 0 07-08-2004 10:06 PM



All times are GMT -4. The time now is 01:25 PM.



Powered by: vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Limited.
Google
  Web http://www.mysqltalk.com
DISCLAIMERS:
1. We have no commercial interest in this site.
Banner Ads and Subscriptions will only be used to help pay for hosting and maintenance costs.
2. MySQLTalk.com is NOT affiliated with MySQL AB in any way.
3. MySQLTalk.com is NOT endorsed by MySQL AB in any way.
4. Please do not post any content that is harmful to MySQL or MySQL AB, meaning no misleading or obsolete information will be tolerated.
Well-founded constructive criticism meant to help the community is permitted.
5. This website is founded with the goal of improving the MySQL community.
We not only tolerate newbies, we encourage them.
Please do not ask newbies to "read the manual".