List:General Discussion« Previous MessageNext Message »
From:Tonu Samuel Date:March 1 2000 10:03pm
Subject:Re: locking
View as plain text  
mocha mysql wrote:
 
> i've never had to use the locking function before.
> things have worked just fine so far. i use php,
> phplib, and mysql. but now i'm starting to wonder when
> it's appropriate to consider using LOCK and UNLOCK
> functions for mysql.
> 
> when is the appropriate time to consider this?

In multiuser environments where you need to keep some data unchanged
between SQL clauses. 

-- 
+----------------------------------------------------------------+
| TcX  ____  __     _____   _____  ___                           |
|     /*/\*\/\*\   /*/ \*\ /*/ \*\ |*|     Tõnu Samuel           |
|    /*/ /*/ /*/   \*\_   |*|   |*||*|     tonu@stripped        |
|   /*/ /*/ /*/\*\/*/  \*\|*|   |*||*|     Tallinn, Estonia      |
|  /*/     /*/  /*/\*\_/*/ \*\_/*/ |*|____                       |
|  ^^^^^^^^^^^^/*/^^^^^^^^^^^\*\^^^^^^^^^^^                      |
|             /*/             \*\                Developers Team |
+----------------------------------------------------------------+
Thread
lockingmocha mysql2 Mar
  • Re: lockingThimble Smith2 Mar
  • Re: lockingTonu Samuel2 Mar
  • RE: lockingindrek siitan2 Mar
    • Re: lockingThimble Smith2 Mar