InnoDB Plugin  1.0
Data Structures | Functions
handler0alter.h File Reference

Go to the source code of this file.

Data Structures

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))
UNIV_INTERN void innobase_fields_to_mysql (struct TABLE *table, const dict_index_t *index, const dfield_t *fields))
UNIV_INTERN void innobase_row_to_mysql (struct TABLE *table, const dict_table_t *itab, const dtuple_t *row))
UNIV_INTERN void innobase_rec_reset (struct TABLE *table))

Detailed Description

Smart ALTER TABLE

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