MySQL Forums
Forum List  »  MyISAM

Re: When can SELECT GET_LOCK() fail?
Posted by: Ingo Strüwing
Date: September 05, 2006 02:23AM

Hi.

Looking at sql/item_func.cc:Item_func_get_lock::val_int() I think there my be some small flaws in the function. But they shouldn't matter in your case.

The most probable problem is insufficient memory. When trying to allocate the memory required for the lock structures, we do not wait for memeory to become available. We just return NULL. If this is your problem, you might try to work around it by sleeping and retrying for some time.

Regards
Ingo

Ingo Strüwing, Senior Software Developer - Storage Engines
MySQL AB, www.mysql.com

Options: ReplyQuote


Subject
Views
Written By
Posted
5576
August 24, 2006 08:51PM
Re: When can SELECT GET_LOCK() fail?
2308
September 05, 2006 02:23AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.