MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:paul Date:December 21 2007 4:26pm
Subject:svn commit - mysqldoc@docsrva: r9435 - in trunk: . refman-6.0
View as plain text  
Author: paul
Date: 2007-12-21 17:26:40 +0100 (Fri, 21 Dec 2007)
New Revision: 9435

Log:
 r28364@frost:  paul | 2007-12-21 10:20:29 -0600
 Update locking notes.


Modified:
   trunk/refman-6.0/lock-tables-tmp.xml

Property changes on: trunk
___________________________________________________________________
Name: svk:merge
   - 4767c598-dc10-0410-bea0-d01b485662eb:/mysqldoc-local/mysqldoc/trunk:34416
7d8d2c4e-af1d-0410-ab9f-b038ce55645b:/mysqldoc-local/mysqldoc:28363
b5ec3a16-e900-0410-9ad2-d183a3acac99:/mysqldoc-local/mysqldoc/trunk:14218
bf112a9c-6c03-0410-a055-ad865cd57414:/mysqldoc-local/mysqldoc/trunk:22582
   + 4767c598-dc10-0410-bea0-d01b485662eb:/mysqldoc-local/mysqldoc/trunk:34416
7d8d2c4e-af1d-0410-ab9f-b038ce55645b:/mysqldoc-local/mysqldoc:28364
b5ec3a16-e900-0410-9ad2-d183a3acac99:/mysqldoc-local/mysqldoc/trunk:14218
bf112a9c-6c03-0410-a055-ad865cd57414:/mysqldoc-local/mysqldoc/trunk:22582


Modified: trunk/refman-6.0/lock-tables-tmp.xml
===================================================================
--- trunk/refman-6.0/lock-tables-tmp.xml	2007-12-21 16:26:27 UTC (rev 9434)
+++ trunk/refman-6.0/lock-tables-tmp.xml	2007-12-21 16:26:40 UTC (rev 9435)
Changed blocks: 3, Lines Added: 18, Lines Deleted: 1; 1736 bytes

@@ -45,7 +45,8 @@
     It's not true that you cannot access any non-locked table while you
     hold locks: You can access TEMPORARY tables. LOCK TABLES appears to
     lock TEMPORARY tables, but should you even bother, given the
-    preceding sentence? ]
+    preceding sentence? How do transactional lock requests and requests
+    to enable read_only interact? ]
   </para>
 
   <remark role="help-description-begin"/>

@@ -145,6 +146,15 @@
   </para>
 
   <para>
+    [VERIFY] Transactional locks can be acquired only while autocommit
+    is disabled. If autocommit is enabled, requests are converted to
+    READ/WRITE requests, or an error occurs if strict SQL mode is
+    enabled (strict mode prevents request conversion). [If conversion
+    occurs, is NOWAIT ignored if present, given that it doesn't apply to
+    READ/WRITE?
+  </para>
+
+  <para>
     The following general rules apply to acquisition and release of
     locks by a given thread:
   </para>

@@ -269,6 +279,13 @@
   <remark role="help-description-end"/>
 
   <para>
+    [ You can lock multiple tables at the same time. You can lock a
+    table multiple times, as long as you refer to it by a different name
+    for each lock. Each locked name can be referred to a single time in
+    a statement.
+  </para>
+
+  <para>
     When you use <literal>LOCK TABLES</literal>, you must lock all
     tables that you are going to use in your statements. While the locks
     obtained with a <literal>LOCK TABLES</literal> statement are in


Thread
svn commit - mysqldoc@docsrva: r9435 - in trunk: . refman-6.0paul21 Dec