Re: handlerton info method locking

John Esmet <[email protected]>
Newsgroups gmane.comp.db.mysql.devel
Message-ID <CAJETVsjD+TT1FRa3mnjqnjfzsJ=ECFzibQueu8mcaOe03awFAQ@mail.gmail.com>
Any insight on this? I'm wondering if it's necessary to do my own
table-level locking (say, for shared variables among threads on the
same table) inside the handlerton's info method.

On Thu, Feb 23, 2012 at 3:07 PM, John Esmet <[email protected]> wrote:
> Hello all,
>
> What is the expected locking behavior of 'show table status' and the
> ::info method in the handlerton? I'm observing unlocked access to
> ::info when other threads have TL_WRITE locks on the table, so I'm
> curious if it is normal/expected for threads to call ::info on a
> write-locked table.
>
> Thanks!
>
> - John

-- 
MySQL Internals Mailing List
For list archives: http://lists.mysql.com/internals
To unsubscribe:    http://lists.mysql.com/internals
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.