~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/innobase/include/dict0dict.h

  • Committer: Stewart Smith
  • Author(s): Jimmy Yang, Stewart Smith
  • Date: 2010-12-03 03:58:24 UTC
  • mto: (2021.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 1986.
  • Revision ID: stewart@flamingspork.com-20101203035824-tb3kvq1pvgzwox2r
Merge Revision revid:jimmy.yang@oracle.com-20100804103744-vbpeghipkz6pyc9z from MySQL InnoDB

Original revid:jimmy.yang@oracle.com-20100804103744-vbpeghipkz6pyc9z

Original Authors: Jimmy Yang <jimmy.yang@oracle.com>
Original commit message:
Fix bug #54678, InnoDB, TRUNCATE, ALTER, I_S SELECT, crash or deadlock

rb://399 approved by Sunny Bains

Show diffs side-by-side

added added

removed removed

Lines of Context:
699
699
dict_table_zip_size(
700
700
/*================*/
701
701
        const dict_table_t*     table); /*!< in: table */
 
702
/*********************************************************************//**
 
703
Obtain exclusive locks on all index trees of the table. This is to prevent
 
704
accessing index trees while InnoDB is updating internal metadata for
 
705
operations such as truncate tables. */
 
706
UNIV_INLINE
 
707
void
 
708
dict_table_x_lock_indexes(
 
709
/*======================*/
 
710
        dict_table_t*   table); /*!< in: table */
 
711
/*********************************************************************//**
 
712
Release the exclusive locks on all index tree. */
 
713
UNIV_INLINE
 
714
void
 
715
dict_table_x_unlock_indexes(
 
716
/*========================*/
 
717
        dict_table_t*   table); /*!< in: table */
702
718
/********************************************************************//**
703
719
Checks if a column is in the ordering columns of the clustered index of a
704
720
table. Column prefixes are treated like whole columns.