~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/schema_dictionary/columns.cc

moved shared generators to Temporal
added file for DateTime tests
added tests for DateTime

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
 
54
54
  add_field("COLLATION_NAME");
55
55
 
56
 
  add_field("COLUMN_COMMENT", 1024);
 
56
  add_field("COLUMN_COMMENT", plugin::TableFunction::STRING, 1024, true);
57
57
}
58
58
 
59
59
 
213
213
  push(column.string_options().collation());
214
214
 
215
215
 /* "COLUMN_COMMENT" */
216
 
  push(column.comment());
 
216
  if (column.has_comment())
 
217
  {
 
218
    push(column.comment());
 
219
  }
 
220
  else
 
221
  {
 
222
    push();
 
223
  }
217
224
}