MySQL 8.0.39
Source Code Documentation
|
#include "sql/sql_partition_admin.h"
#include <limits.h>
#include <stdio.h>
#include <string.h>
#include <sys/types.h>
#include <memory>
#include "lex_string.h"
#include "m_ctype.h"
#include "my_base.h"
#include "my_dbug.h"
#include "my_inttypes.h"
#include "my_io.h"
#include "my_sys.h"
#include "my_thread_local.h"
#include "mysql/plugin.h"
#include "mysql/psi/mysql_mutex.h"
#include "mysqld_error.h"
#include "sql/auth/auth_acls.h"
#include "sql/auth/auth_common.h"
#include "sql/dd/cache/dictionary_client.h"
#include "sql/dd/properties.h"
#include "sql/dd/sdi_api.h"
#include "sql/dd/types/table.h"
#include "sql/dd_table_share.h"
#include "sql/debug_sync.h"
#include "sql/handler.h"
#include "sql/log.h"
#include "sql/mdl.h"
#include "sql/mysqld.h"
#include "sql/partition_info.h"
#include "sql/partitioning/partition_handler.h"
#include "sql/sql_base.h"
#include "sql/sql_class.h"
#include "sql/sql_lex.h"
#include "sql/sql_list.h"
#include "sql/sql_partition.h"
#include "sql/sql_table.h"
#include "sql/system_variables.h"
#include "sql/table.h"
#include "sql/transaction.h"
#include "sql_string.h"
#include "thr_lock.h"
Namespaces | |
namespace | dd |
The version of the current data dictionary table definitions. | |
Functions | |
static bool | check_exchange_partition (TABLE *table, TABLE *part_table) |
Checks that the tables will be able to be used for EXCHANGE PARTITION. More... | |
static bool | compare_table_with_partition (THD *thd, TABLE *table, TABLE *part_table, partition_element *part_elem, uint part_id) |
Compare table structure/options between a non partitioned table and a specific partition of a partitioned table. More... | |
Checks that the tables will be able to be used for EXCHANGE PARTITION.
table | Non partitioned table. |
part_table | Partitioned table. |
false | if OK, otherwise error is reported and true is returned. |
|
static |
Compare table structure/options between a non partitioned table and a specific partition of a partitioned table.
thd | Thread object. |
table | Non partitioned table. |
part_table | Partitioned table. |
part_elem | Partition element to use for partition specific compare. |
part_id | Id of specific partition |