MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
handler0alter.cc File Reference
#include <unireg.h>
#include <mysqld_error.h>
#include <log.h>
#include <debug_sync.h>
#include <mysql/innodb_priv.h>
#include <sql_alter.h>
#include <sql_class.h>
#include "dict0crea.h"
#include "dict0dict.h"
#include "dict0priv.h"
#include "dict0stats.h"
#include "dict0stats_bg.h"
#include "log0log.h"
#include "rem0types.h"
#include "row0log.h"
#include "row0merge.h"
#include "srv0srv.h"
#include "trx0trx.h"
#include "trx0roll.h"
#include "ha_prototypes.h"
#include "handler0alter.h"
#include "srv0mon.h"
#include "fts0priv.h"
#include "pars0pars.h"
#include "ha_innodb.h"
Include dependency graph for handler0alter.cc:

Go to the source code of this file.

Macros

#define DBUG_INJECT_CRASH(prefix, count)

Functions

static UNIV_COLD const char
ulint flags 
switch (error)
 m_increment (0)
 m_offset (0)
 m_next_value (start_value)
 m_eof (false)

Variables

static UNIV_COLD const char * table
static char * constraint_name
static char dict_table_t
dict_index_t
index
static char dict_table_t
dict_index_t const char ** 
column_names
static char dict_table_t
dict_index_t const char ulint 
num_field
static char dict_table_t
dict_index_t const char ulint
const char * 
referenced_table_name
static char dict_table_t
dict_index_t const char ulint
const char dict_table_t
referenced_table
static char dict_table_t
dict_index_t const char ulint
const char dict_table_t
dict_index_t
referenced_index
static char dict_table_t
dict_index_t const char ulint
const char dict_table_t
dict_index_t const char ** 
referenced_column_names

Detailed Description

Smart ALTER TABLE

Definition in file handler0alter.cc.

Macro Definition Documentation

#define DBUG_INJECT_CRASH (   prefix,
  count 
)
Value:
do { \
char buf[32]; \
ut_snprintf(buf, sizeof buf, prefix "_%u", count); \
DBUG_EXECUTE_IF(buf, DBUG_SUICIDE();); \
} while (0)

Function Documentation

static UNIV_COLD const char ulint flags switch ( error  )

< in: table flags

Definition at line 107 of file handler0alter.cc.

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

char dict_table_t dict_index_t const char** column_names

in: foreign key column names

Definition at line 518 of file handler0alter.cc.

char* constraint_name

< in/out: structure to initialize in/out: constraint name if exists

Definition at line 518 of file handler0alter.cc.

in: foreign key index

Definition at line 518 of file handler0alter.cc.

char dict_table_t dict_index_t const char ulint num_field

in: number of columns

Definition at line 518 of file handler0alter.cc.

char dict_table_t dict_index_t const char ulint const char dict_table_t dict_index_t const char** referenced_column_names

in: referenced column names

Definition at line 518 of file handler0alter.cc.

char dict_table_t dict_index_t const char ulint const char dict_table_t dict_index_t* referenced_index

in: referenced index

Definition at line 518 of file handler0alter.cc.

char dict_table_t dict_index_t const char ulint const char dict_table_t* referenced_table

in: referenced table

Definition at line 518 of file handler0alter.cc.

char dict_table_t dict_index_t const char ulint const char* referenced_table_name

in: referenced table name

Definition at line 518 of file handler0alter.cc.

static char dict_table_t * table

< in: InnoDB error code in: table name

in: foreign table

Definition at line 104 of file handler0alter.cc.