~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/temporal_format.cc

  • Committer: Brian Aker
  • Date: 2010-12-22 19:01:50 UTC
  • Revision ID: brian@tangent.org-20101222190150-axj8ykxq9zv3x982
This takes time and turns it into a fuzzy type so that we can do
conversions. We ignore the other parts of it or other operations.

EXTRACT should be fixed so that this is not required.

Show diffs side-by-side

added added

removed removed

Lines of Context:
266
266
  /* Compile all the regular expressions for the datetime formats */
267
267
  TemporalFormat *tmp;
268
268
  struct temporal_format_args current_format_args;
269
 
  int32_t x;
270
269
  
271
 
  for (x= 0; x<COUNT_KNOWN_FORMATS; ++x)
 
270
  for (int32_t x= 0; x < COUNT_KNOWN_FORMATS; ++x)
272
271
  {
273
272
    current_format_args= __format_args[x];
274
273
    tmp= new TemporalFormat(current_format_args.pattern);