List:Commits« Previous MessageNext Message »
From:'Konstantin Osipov' Date:June 19 2008 7:48pm
Subject:Re: bzr commit into mysql-6.0-backup branch (cbell:2618) Bug#36749
View as plain text  
* Chuck Bell <cbell@stripped> [08/06/19 23:42]:
> > > +int get_name_locks(THD *thd, TABLE_LIST *tables, bool exclusive);
> > 
> > What is this "exclusive" for?
> 
> If true, it calls lock_table_names_exclusively().
> If false, it calles lock_table_names().

Yes, I read the code :)

lock_table_names() takes a semi-exclusive lock.

You can't unlock LOCK_open if you have a semi-exclusive lock.
Please don't use lock_table_names(), especially taking into
account that right now you never use this branch.

-- 
Thread
bzr commit into mysql-6.0-backup branch (cbell:2618) Bug#36749Chuck Bell17 Jun
  • Re: bzr commit into mysql-6.0-backup branch (cbell:2618) Bug#36749Jørgen Løland18 Jun
  • Re: bzr commit into mysql-6.0-backup branch (cbell:2618) Bug#36749Rafal Somla18 Jun
    • RE: bzr commit into mysql-6.0-backup branch (cbell:2618) Bug#36749Chuck Bell19 Jun
  • Re: bzr commit into mysql-6.0-backup branch (cbell:2618) Bug#36749Konstantin Osipov19 Jun
    • RE: bzr commit into mysql-6.0-backup branch (cbell:2618) Bug#36749Chuck Bell19 Jun
      • Re: bzr commit into mysql-6.0-backup branch (cbell:2618) Bug#36749'Konstantin Osipov'19 Jun
      • Re: bzr commit into mysql-6.0-backup branch (cbell:2618) Bug#36749Paul DuBois20 Jun
        • RE: bzr commit into mysql-6.0-backup branch (cbell:2618) Bug#36749Chuck Bell20 Jun
          • Re: bzr commit into mysql-6.0-backup branch (cbell:2618) Bug#36749Paul DuBois20 Jun
            • RE: bzr commit into mysql-6.0-backup branch (cbell:2618) Bug#36749Chuck Bell20 Jun