~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/information_schema_dictionary/table_privileges.cc

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

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
{
30
30
  add_field("GRANTOR");
31
31
  add_field("GRANTEE");
32
 
  add_field("TABLE_CATALOG");
33
 
  add_field("TABLE_SCHEMA");
34
 
  add_field("TABLE_NAME");
35
 
  add_field("COLUMN_NAME");
 
32
  add_field("TABLE_CATALOG", plugin::TableFunction::STRING, MAXIMUM_IDENTIFIER_LENGTH, false);
 
33
  add_field("TABLE_SCHEMA", plugin::TableFunction::STRING, MAXIMUM_IDENTIFIER_LENGTH, false);
 
34
  add_field("TABLE_NAME", plugin::TableFunction::STRING, MAXIMUM_IDENTIFIER_LENGTH, false);
 
35
  add_field("COLUMN_NAME", plugin::TableFunction::STRING, MAXIMUM_IDENTIFIER_LENGTH, false);
36
36
  add_field("PRIVILEGE_TYPE");
37
37
  add_field("IS_GRANTABLE");
38
38
}