My Project
|
00001 #ifndef SQL_RELOAD_INCLUDED 00002 #define SQL_RELOAD_INCLUDED 00003 /* Copyright (c) 2010, 2012 Oracle and/or its affiliates. All rights reserved. 00004 00005 This program is free software; you can redistribute it and/or modify 00006 it under the terms of the GNU General Public License as published by 00007 the Free Software Foundation; version 2 of the License. 00008 00009 This program is distributed in the hope that it will be useful, 00010 but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00012 GNU General Public License for more details. 00013 00014 You should have received a copy of the GNU General Public License 00015 along with this program; if not, write to the Free Software 00016 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ 00017 00018 class THD; 00019 struct TABLE_LIST; 00020 00021 bool reload_acl_and_cache(THD *thd, unsigned long options, 00022 TABLE_LIST *tables, int *write_to_binlog); 00023 00024 bool flush_tables_with_read_lock(THD *thd, TABLE_LIST *all_tables); 00025 00026 bool flush_tables_for_export(THD *thd, TABLE_LIST *all_tables); 00027 00028 #endif