#include <sys/types.h>
#include "field_types.h"
#include "m_ctype.h"
#include "my_inttypes.h"
#include "my_sys.h"
#include "sql/dd/object_id.h"
Go to the source code of this file.
|
namespace | dd |
| The version of the current data dictionary table definitions.
|
|
◆ dd_get_mysql_charset()
◆ dd_get_old_field_type()
◆ is_suitable_for_primary_key()
Check if the given key_part is suitable to be promoted as part of primary key.
- Parameters
-
key_part | - pointer to KEY_PART_INTO which we are checking. |
table_field | - Pointer to Field of column used by key_part. |
- Returns
- true - Is suitable for primary key. false - if not.
◆ open_table_def()
Read the table definition from the data-dictionary.
- Parameters
-
thd | Thread handler |
share | Fill this with table definition |
table_def | A data-dictionary Table-object describing table to be used for opening, instead of reading information from DD. |
- Note
- This function is called when the table definition is not cached in table_def_cache. The data is returned in 'share', which is allocated by alloc_table_share().. The code assumes that share is initialized.
- Returns
- false OK true Error
◆ open_table_def_suppress_invalid_meta_data()
Read the table definition from the data-dictionary.
- Parameters
-
thd | Thread handler |
share | Fill this with table definition |
table_def | A data-dictionary Table-object describing table to be used for opening. |
- Note
- This function is called from InnoDB, and will suppress errors due to: Invalid collations. Missing FTS parser.
- Returns
- false OK true Error