23#ifndef DD_TABLES__CATALOGS_INCLUDED
24#define DD_TABLES__CATALOGS_INCLUDED
64 "id BIGINT UNSIGNED NOT NULL AUTO_INCREMENT");
66 "name VARCHAR(64) NOT NULL COLLATE " +
69 "created TIMESTAMP NOT NULL");
71 "last_altered TIMESTAMP NOT NULL");
73 "options MEDIUMTEXT");
79 "INSERT INTO catalogs(id, name, options, created, last_altered) "
80 "VALUES (1, 'def', NULL, CURRENT_TIMESTAMP, CURRENT_TIMESTAMP)");
void add_field(int field_number, const String_type &field_name, const String_type field_definition) override
Add a field to the object table definition.
Definition: object_table_definition_impl.h:215
void set_table_name(const String_type &name) override
Set the name of the table.
Definition: object_table_definition_impl.h:211
virtual void add_populate_statement(const String_type &statement)
Definition: object_table_definition_impl.h:242
static const CHARSET_INFO * fs_name_collation()
Get the collation which is used for names related to the file system (e.g.
Definition: object_table_definition_impl.h:160
void add_index(int index_number, const String_type &index_name, const String_type &index_definition) override
Add an index to the object table definition.
Definition: object_table_definition_impl.h:223
Definition: object_table_impl.h:35
Object_table_definition_impl m_target_def
Definition: object_table_impl.h:38
Definition: catalogs.h:35
static const Catalogs & instance()
Definition: catalogs.h:37
Catalogs()
Definition: catalogs.h:60
static const CHARSET_INFO * name_collation()
Definition: catalogs.h:42
enum_fields
Definition: catalogs.h:46
@ FIELD_LAST_ALTERED
Definition: catalogs.h:50
@ FIELD_ID
Definition: catalogs.h:47
@ NUMBER_OF_FIELDS
Definition: catalogs.h:52
@ FIELD_NAME
Definition: catalogs.h:48
@ FIELD_OPTIONS
Definition: catalogs.h:51
@ FIELD_CREATED
Definition: catalogs.h:49
enum_indexes
Definition: catalogs.h:55
@ INDEX_PK_ID
Definition: catalogs.h:56
@ INDEX_UK_NAME
Definition: catalogs.h:57
const dd::system_views::Columns_extensions * s_instance
Definition: columns_extensions.cc:40
The version of the current data dictionary table definitions.
Definition: dictionary_client.h:42
Char_string_template< String_type_allocator > String_type
Definition: string_type.h:50
Definition: m_ctype.h:382
unsigned int uint
Definition: uca9-dump.cc:74