~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/schema_dictionary/index_parts.cc

mergeĀ lp:~stewart/drizzle/bug658673-DD-use-MAXIMUM_IDENTIFIER_LENGTH

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
IndexPartsTool::IndexPartsTool() :
29
29
  IndexesTool("INDEX_PARTS")
30
30
{
31
 
  add_field("TABLE_SCHEMA");
32
 
  add_field("TABLE_NAME");
33
 
  add_field("INDEX_NAME");
34
 
  add_field("COLUMN_NAME");
 
31
  add_field("TABLE_SCHEMA", plugin::TableFunction::STRING, MAXIMUM_IDENTIFIER_LENGTH, false);
 
32
  add_field("TABLE_NAME", plugin::TableFunction::STRING, MAXIMUM_IDENTIFIER_LENGTH, false);
 
33
  add_field("INDEX_NAME", plugin::TableFunction::STRING, MAXIMUM_IDENTIFIER_LENGTH, false);
 
34
  add_field("COLUMN_NAME", plugin::TableFunction::STRING, MAXIMUM_IDENTIFIER_LENGTH, false);
35
35
  add_field("COLUMN_NUMBER", plugin::TableFunction::NUMBER, 0, false);
36
36
  add_field("SEQUENCE_IN_INDEX", plugin::TableFunction::NUMBER, 0, false);
37
37
  add_field("COMPARE_LENGTH", plugin::TableFunction::NUMBER, 0, true);