MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
handler0alter.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ib_sequence_t

Functions

UNIV_INTERN void innobase_rec_to_mysql (struct TABLE *table, const rec_t *rec, const dict_index_t *index, const ulint *offsets) __attribute__((nonnull))
UNIV_INTERN void innobase_fields_to_mysql (struct TABLE *table, const dict_index_t *index, const dfield_t *fields) __attribute__((nonnull))
UNIV_INTERN void innobase_row_to_mysql (struct TABLE *table, const dict_table_t *itab, const dtuple_t *row) __attribute__((nonnull))
UNIV_INTERN void innobase_rec_reset (struct TABLE *table) __attribute__((nonnull))

Detailed Description

Smart ALTER TABLE

Definition in file handler0alter.h.

Function Documentation

UNIV_INTERN void innobase_fields_to_mysql ( struct TABLE table,
const dict_index_t index,
const dfield_t fields 
)

Copies an InnoDB index entry to table->record[0].

Parameters
tablein/out: MySQL table
indexin: InnoDB index
fieldsin: InnoDB index fields
UNIV_INTERN void innobase_rec_reset ( struct TABLE table)

Resets table->record[0].

Parameters
tablein/out: MySQL table
UNIV_INTERN void innobase_rec_to_mysql ( struct TABLE table,
const rec_t *  rec,
const dict_index_t index,
const ulint *  offsets 
)

Copies an InnoDB record to table->record[0].

Parameters
tablein/out: MySQL table
recin: record
indexin: index
offsetsin: rec_get_offsets( rec, index, ...)
UNIV_INTERN void innobase_row_to_mysql ( struct TABLE table,
const dict_table_t itab,
const dtuple_t row 
)

Copies an InnoDB row to table->record[0].

Parameters
tablein/out: MySQL table
itabin: InnoDB table
rowin: InnoDB row