|
drizzle
C++ MySQL-protocol-compatible database server
|
#include <config.h>#include <drizzled/error.h>#include <drizzled/charset.h>#include <drizzled/field.h>#include <drizzled/table.h>#include <drizzled/field/varstring.h>#include <drizzled/internal/my_sys.h>#include <drizzled/key_part_info.h>#include "log0log.h"#include "row0merge.h"#include "srv0srv.h"#include "trx0trx.h"#include "trx0roll.h"#include "ha_prototypes.h"#include "handler0alter.h"#include "ha_innodb.h"#include "handler0vars.h"Go to the source code of this file.
Functions | |
| static void | innobase_col_to_mysql (const dict_col_t *col, const unsigned char *data, ulint len, Field *field) |
| UNIV_INTERN void | innobase_rec_to_mysql (Table *table, const rec_t *rec, const dict_index_t *index, const ulint *offsets) |
| UNIV_INTERN void | innobase_rec_reset (Table *table) |
Smart ALTER TABLE
Definition in file handler0alter.cc.
|
static |
Copies an InnoDB column to a MySQL field. This function is adapted from row_sel_field_store_in_mysql_format().
| col | in: InnoDB column |
| data | in: InnoDB column data |
| len | in: length of data, in bytes |
| field | in/out: MySQL field |
Definition at line 49 of file handler0alter.cc.
| UNIV_INTERN void innobase_rec_reset | ( | Table * | table | ) |
Resets table->getInsertRecord().
| table | in/out: MySQL table |
Definition at line 186 of file handler0alter.cc.
| UNIV_INTERN void innobase_rec_to_mysql | ( | Table * | table, |
| const rec_t * | rec, | ||
| const dict_index_t * | index, | ||
| const ulint * | offsets ) |
Copies an InnoDB record to table->getInsertRecord().
| table | in/out: MySQL table |
| rec | in: record |
| index | in: index |
| offsets | in: rec_get_offsets( rec, index, ...) |
Definition at line 136 of file handler0alter.cc.