Commit e5b02fbe authored by paul@teton.kitebird.com's avatar paul@teton.kitebird.com

Merge paul@work.mysql.com:/home/bk/mysql-4.0

into teton.kitebird.com:/home/paul/mysql-4.0
parents 978bf721 43b84c78
...@@ -49582,34 +49582,41 @@ Added binary XOR. ...@@ -49582,34 +49582,41 @@ Added binary XOR.
The one that with a query like : The one that with a query like :
select 11 ^ 3; @example
SELECT 11 ^ 3;
@end example
returns 8. 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 @item
Added logical XOR. Added logical XOR.
The one that with a query like: The one that with a query like:
select 1 XOR 1; @example
SELECT 1 XOR 1;
@end example
returns 0; 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 @item
Add function CHEDK_LOCK("lock_name"). Add function @code{CHECK_LOCK("lock_name")}.
This function checks if the lock of the certain name is available or not. This function returns a value indicating whether or not the lock with the
This function does not attempt to take a look. given name is available.
It does not attempt to acquire a lock.
It is used like this: 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 @code{CHECK_LOCK()} returns 1 if the lock is available,
itself), 0 if it is currently not held by anyone and NULL on 0 if the lock is held by any process (including the current process),
errors. and @code{NULL} if an error occurs.
Based on the code originated by Hartmut Holzgraefe <hartmut@six.de>. Based on code contributed by Hartmut Holzgraefe @email{hartmut@@six.de}.
@item @item
Removed @code{mysql_ssl_clear()}, as this was not needed. Removed @code{mysql_ssl_clear()}, as this was not needed.
@item @item
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment