1 /***************************************************************************** 2 3 Copyright (c) 2010, 2018, Oracle and/or its affiliates. All Rights Reserved. 4 5 This program is free software; you can redistribute it and/or modify it under 6 the terms of the GNU General Public License, version 2.0, as published by the 7 Free Software Foundation. 8 9 This program is also distributed with certain software (including but not 10 limited to OpenSSL) that is licensed under separate terms, as designated in a 11 particular file or component or in included license documentation. The authors 12 of MySQL hereby grant you an additional permission to link the program and 13 your derivative works with the separately licensed software that they have 14 included with MySQL. 15 16 This program is distributed in the hope that it will be useful, but WITHOUT 17 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 18 FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, 19 for more details. 20 21 You should have received a copy of the GNU General Public License along with 22 this program; if not, write to the Free Software Foundation, Inc., 23 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 24 25 *****************************************************************************/ 26 27 /** @file include/dict0priv.h 28 Data dictionary private functions 29 30 Created Fri 2 Jul 2010 13:30:38 EST - Sunny Bains 31 *******************************************************/ 32 33 #ifndef dict0priv_h 34 #define dict0priv_h 35 36 #include "univ.i" 37 38 /** Gets a table; loads it to the dictionary cache if necessary. A low-level 39 function. Note: Not to be called from outside dict0*c functions. 40 @return table, NULL if not found */ 41 UNIV_INLINE 42 dict_table_t *dict_table_get_low(const char *table_name); /*!< in: table name */ 43 44 /** Checks if a table is in the dictionary cache. 45 @return table, NULL if not found */ 46 UNIV_INLINE 47 dict_table_t *dict_table_check_if_in_cache_low( 48 const char *table_name); /*!< in: table name */ 49 50 #include "dict0priv.ic" 51 52 #endif /* dict0priv.h */ 53