|
MySQL 5.6.14 Source Code Document
|
#include "dict0mem.h"#include "rem0rec.h"#include "data0type.h"#include "mach0data.h"#include "dict0dict.h"#include "fts0priv.h"#include "ha_prototypes.h"#include "mysql_com.h"#include "lock0lock.h"
Go to the source code of this file.
Macros | |
| #define | DICT_HEAP_SIZE 100 |
Functions | |
| UNIV_INTERN dict_table_t * | dict_mem_table_create (const char *name, ulint space, ulint n_cols, ulint flags, ulint flags2) |
| UNIV_INTERN void | dict_mem_table_free (dict_table_t *table) |
| UNIV_INTERN void | dict_mem_table_add_col (dict_table_t *table, mem_heap_t *heap, const char *name, ulint mtype, ulint prtype, ulint len) |
Variables | |
| static unsigned | i |
| static unsigned const char * | to |
Data dictionary memory object creation
Created 1/8/1996 Heikki Tuuri
Definition in file dict0mem.cc.
| #define DICT_HEAP_SIZE 100 |
initial memory heap size when creating a table or index object
Definition at line 48 of file dict0mem.cc.
| UNIV_INTERN void dict_mem_table_add_col | ( | dict_table_t * | table, |
| mem_heap_t * | heap, | ||
| const char * | name, | ||
| ulint | mtype, | ||
| ulint | prtype, | ||
| ulint | len | ||
| ) |
Adds a column definition to a table.
| table | in: table |
| heap | in: temporary memory heap, or NULL |
| name | in: column name, or NULL |
| mtype | in: main datatype |
| prtype | in: precise type |
| len | in: precision |
Definition at line 206 of file dict0mem.cc.


| UNIV_INTERN dict_table_t* dict_mem_table_create | ( | const char * | name, |
| ulint | space, | ||
| ulint | n_cols, | ||
| ulint | flags, | ||
| ulint | flags2 | ||
| ) |
Creates a table memory object.
| name | in: table name |
| space | in: space where the clustered index of the table is placed |
| n_cols | in: number of columns |
| flags | in: table flags |
| flags2 | in: table flags2 |
Definition at line 61 of file dict0mem.cc.


| UNIV_INTERN void dict_mem_table_free | ( | dict_table_t * | table | ) |
Free a table memory object.
| table | in: table |
Definition at line 130 of file dict0mem.cc.


| unsigned i |
< in/out: table in: column offset corresponding to s
Definition at line 252 of file dict0mem.cc.
| unsigned const char* to |
in: new column name
Definition at line 252 of file dict0mem.cc.