diff options
Diffstat (limited to 'storage/xtradb/include/dict0boot.ic')
-rw-r--r-- | storage/xtradb/include/dict0boot.ic | 27 |
1 files changed, 15 insertions, 12 deletions
diff --git a/storage/xtradb/include/dict0boot.ic b/storage/xtradb/include/dict0boot.ic index 5fa33837640..2b156a4f672 100644 --- a/storage/xtradb/include/dict0boot.ic +++ b/storage/xtradb/include/dict0boot.ic @@ -1,6 +1,6 @@ /***************************************************************************** -Copyright (c) 1996, 2009, Innobase Oy. All Rights Reserved. +Copyright (c) 1996, 2012, Oracle and/or its affiliates. All Rights Reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software @@ -11,8 +11,8 @@ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with -this program; if not, write to the Free Software Foundation, Inc., -51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA +this program; if not, write to the Free Software Foundation, Inc., +51 Franklin Street, Suite 500, Boston, MA 02110-1335 USA *****************************************************************************/ @@ -24,15 +24,6 @@ Created 4/18/1996 Heikki Tuuri *******************************************************/ /**********************************************************************//** -Writes the current value of the row id counter to the dictionary header file -page. */ -UNIV_INTERN -void -dict_hdr_flush_row_id(void); -/*=======================*/ - - -/**********************************************************************//** Returns a new row id. @return the new id */ UNIV_INLINE @@ -90,4 +81,16 @@ dict_sys_write_row_id( mach_write_to_6(field, row_id); } +/*********************************************************************//** +Check if a table id belongs to system table. +@return true if the table id belongs to a system table. */ +UNIV_INLINE +bool +dict_is_sys_table( +/*==============*/ + table_id_t id) /*!< in: table id to check */ +{ + return(id < DICT_HDR_FIRST_ID); +} + |