MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Derived_key Class Reference

#include <table.h>

Inheritance diagram for Derived_key:
Collaboration diagram for Derived_key:

Public Attributes

table_map referenced_by
Field_map used_fields

Additional Inherited Members

- Static Public Member Functions inherited from Sql_alloc
static void * operator new (size_t size) throw ()
static void * operator new[] (size_t size) throw ()
static void * operator new[] (size_t size, MEM_ROOT *mem_root) throw ()
static void * operator new (size_t size, MEM_ROOT *mem_root) throw ()
static void operator delete (void *ptr, size_t size)
static void operator delete (void *ptr, MEM_ROOT *mem_root)
static void operator delete[] (void *ptr, MEM_ROOT *mem_root)
static void operator delete[] (void *ptr, size_t size)

Detailed Description

This structure is used to keep info about possible key for the result table of a derived table/view. The 'referenced_by' is the table map of tables to which this possible key corresponds. The 'used_field' is a map of fields of which this key consists of. See also the comment for the TABLE_LIST::update_derived_keys function.

Definition at line 1464 of file table.h.


The documentation for this class was generated from the following file: