~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field.cc

  • Committer: Brian Aker
  • Date: 2010-12-20 19:20:57 UTC
  • mto: This revision was merged to the branch mainline in revision 2016.
  • Revision ID: brian@tangent.org-20101220192057-1ch4b9uo008d8rje
Merge in additional fixes for sign, plus alter table, plus TIME on
processlist.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1084
1084
  output <<  field.field_name;
1085
1085
  output << ", ";
1086
1086
  output << drizzled::display::type(field.real_type());
 
1087
  output << ", { ";
 
1088
 
 
1089
  if (field.flags & NOT_NULL_FLAG)
 
1090
    output << " NOT_NULL";
 
1091
 
 
1092
  if (field.flags & PRI_KEY_FLAG)
 
1093
    output << ", PRIMARY KEY";
 
1094
 
 
1095
  if (field.flags & UNIQUE_KEY_FLAG)
 
1096
    output << ", UNIQUE KEY";
 
1097
 
 
1098
  if (field.flags & MULTIPLE_KEY_FLAG)
 
1099
    output << ", MULTIPLE KEY";
 
1100
 
 
1101
  if (field.flags & BLOB_FLAG)
 
1102
    output << ", BLOB";
 
1103
 
 
1104
  if (field.flags & UNSIGNED_FLAG)
 
1105
    output << ", UNSIGNED";
 
1106
 
 
1107
  if (field.flags & BINARY_FLAG)
 
1108
    output << ", BINARY";
 
1109
  output << "}, ";
1087
1110
  output << ")";
1088
1111
 
1089
1112
  return output;  // for multiple << operators.