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 |
+----------------------------------------------------------------+