Class: Innodb::Page::SysDataDictionaryHeader::SYS_TABLES_PRIMARY

Inherits:
Object
  • Object
show all
Defined in:
lib/innodb/page/sys_data_dictionary_header.rb

Overview

A record describer for SYS_TABLES clustered records.

Class Method Summary collapse

Class Method Details

.cursor_sendable_description(page) ⇒ Object



67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
# File 'lib/innodb/page/sys_data_dictionary_header.rb', line 67

def self.cursor_sendable_description(page)
  {
    :type => :clustered,
    :key => [
      ["VARCHAR(100)",      :NOT_NULL],       # NAME
    ],
    :row => [
      [:BIGINT, :UNSIGNED,  :NOT_NULL],       # ID
      [:INT,    :UNSIGNED,  :NOT_NULL],       # N_COLS
      [:INT,    :UNSIGNED,  :NOT_NULL],       # TYPE
      [:BIGINT, :UNSIGNED,  :NOT_NULL],       # MIX_ID
      [:INT,    :UNSIGNED,  :NOT_NULL],       # MIX_LEN
      ["VARCHAR(100)"],                       # CLUSTER_NAME
      [:INT,    :UNSIGNED,  :NOT_NULL],       # SPACE
    ]
  }
end