diff options
author | unknown <paul@teton.kitebird.com> | 2002-06-29 14:21:51 -0500 |
---|---|---|
committer | unknown <paul@teton.kitebird.com> | 2002-06-29 14:21:51 -0500 |
commit | a88c8630ec426c88cd7eae7acf2985a254d3faba (patch) | |
tree | ae083b5c27d37b57b21c63b51fd05cedd7c4ad6b | |
parent | 663bc26d7f7bcac569994e823e782f756ff0d319 (diff) | |
parent | 44074bcd0a18f21e0d249a0410ece534a7e8cac3 (diff) | |
download | mariadb-git-a88c8630ec426c88cd7eae7acf2985a254d3faba.tar.gz |
Merge paul@work.mysql.com:/home/bk/mysql-4.0
into teton.kitebird.com:/home/paul/mysql-4.0
-rw-r--r-- | Docs/manual.texi | 31 |
1 files changed, 19 insertions, 12 deletions
diff --git a/Docs/manual.texi b/Docs/manual.texi index 59cca2d6242..b908b6cb7ec 100644 --- a/Docs/manual.texi +++ b/Docs/manual.texi @@ -49582,34 +49582,41 @@ Added binary XOR. The one that with a query like : -select 11 ^ 3; +@example +SELECT 11 ^ 3; +@end example returns 8. -Based on the code originated by Hartmut Holzgraefe <hartmut@six.de>. +Based on code contributed by Hartmut Holzgraefe @email{hartmut@@six.de}. @item Added logical XOR. The one that with a query like: -select 1 XOR 1; +@example +SELECT 1 XOR 1; +@end example returns 0; -Based on the code originated by Hartmut Holzgraefe <hartmut@six.de>. +Based on code contributed by Hartmut Holzgraefe @email{hartmut@@six.de}. @item -Add function CHEDK_LOCK("lock_name"). -This function checks if the lock of the certain name is available or not. -This function does not attempt to take a look. +Add function @code{CHECK_LOCK("lock_name")}. +This function returns a value indicating whether or not the lock with the +given name is available. +It does not attempt to acquire a lock. It is used like this: - SELECT CHECK_LOCK("some_lock"); +@example +SELECT CHECK_LOCK("some_lock"); +@end example -it will return 1 if the lock is held by a process (including by -itself), 0 if it is currently not held by anyone and NULL on -errors. -Based on the code originated by Hartmut Holzgraefe <hartmut@six.de>. +@code{CHECK_LOCK()} returns 1 if the lock is available, +0 if the lock is held by any process (including the current process), +and @code{NULL} if an error occurs. +Based on code contributed by Hartmut Holzgraefe @email{hartmut@@six.de}. @item Removed @code{mysql_ssl_clear()}, as this was not needed. @item |