MySQL 9.1.0
Source Code Documentation
dict0inst.h File Reference

Instant DDL interface. More...

#include "dict0dd.h"
#include "ha_innopart.h"
#include "handler0alter.h"

Go to the source code of this file.

Classes

class  Instant_ddl_impl< Table >
 

Typedefs

using Columns = std::vector< Field * >
 

Enumerations

enum class  Instant_Type : uint16_t {
  INSTANT_IMPOSSIBLE , INSTANT_NO_CHANGE , INSTANT_VIRTUAL_ONLY , INSTANT_ADD_DROP_COLUMN ,
  INSTANT_COLUMN_RENAME
}
 Flags indicating if current operation can be done instantly. More...
 

Detailed Description

Instant DDL interface.

Created 2020-04-24 by Mayank Prasad.

Typedef Documentation

◆ Columns

using Columns = std::vector<Field *>

Enumeration Type Documentation

◆ Instant_Type

enum class Instant_Type : uint16_t
strong

Flags indicating if current operation can be done instantly.

Enumerator
INSTANT_IMPOSSIBLE 

Impossible to alter instantly.

INSTANT_NO_CHANGE 

Can be instant without any change.

INSTANT_VIRTUAL_ONLY 

Adding or dropping virtual columns only.

INSTANT_ADD_DROP_COLUMN 

ADD/DROP COLUMN which can be done instantly, including adding/dropping stored column only (or along with adding/dropping virtual columns)

INSTANT_COLUMN_RENAME 

Column rename.