~james-page/ubuntu/precise/mysql-5.5/misc-fixes

« back to all changes in this revision

Viewing changes to storage/innobase/include/dict0dict.ic

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2012-06-11 07:34:33 UTC
  • mfrom: (1.1.6)
  • Revision ID: package-import@ubuntu.com-20120611073433-l9za2ni4ipp848y3
Tags: 5.5.24-0ubuntu0.12.04.1
* SECURITY UPDATE: Update to 5.5.24 to fix security issues (LP: #1011371)
  - http://dev.mysql.com/doc/refman/5.5/en/news-5-5-24.html

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*****************************************************************************
2
2
 
3
 
Copyright (c) 1996, 2009, Innobase Oy. All Rights Reserved.
 
3
Copyright (c) 1996, 2012, Oracle and/or its affiliates. All Rights Reserved.
4
4
 
5
5
This program is free software; you can redistribute it and/or modify it under
6
6
the terms of the GNU General Public License as published by the Free Software
11
11
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
12
12
 
13
13
You should have received a copy of the GNU General Public License along with
14
 
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
15
 
Place, Suite 330, Boston, MA 02111-1307 USA
 
14
this program; if not, write to the Free Software Foundation, Inc.,
 
15
51 Franklin Street, Suite 500, Boston, MA 02110-1335 USA
16
16
 
17
17
*****************************************************************************/
18
18
 
762
762
}
763
763
 
764
764
/*********************************************************************//**
765
 
Sets the page number of the root of index tree. */
766
 
UNIV_INLINE
767
 
void
768
 
dict_index_set_page(
769
 
/*================*/
770
 
        dict_index_t*   index,  /*!< in/out: index */
771
 
        ulint           page)   /*!< in: page number */
772
 
{
773
 
        ut_ad(index);
774
 
        ut_ad(index->magic_n == DICT_INDEX_MAGIC_N);
775
 
 
776
 
        index->page = page;
777
 
}
778
 
 
779
 
/*********************************************************************//**
780
765
Gets the read-write lock of the index tree.
781
766
@return read-write lock */
782
767
UNIV_INLINE