~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/temporal_format.h

  • Committer: Stewart Smith
  • Date: 2009-08-20 17:15:54 UTC
  • mto: (1119.2.2 merge)
  • mto: This revision was merged to the branch mainline in revision 1124.
  • Revision ID: stewart@flamingspork.com-20090820171554-72eo1tqlc4n64rak
Valgrind 3.5 requires --alignment to be a power of 2 between 16 and 4096. The specifying --alignment is not important for us, so remove it.

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
 * Defines the API for matching datetime formats.
29
29
 */
30
30
 
31
 
#ifndef DRIZZLED_TEMPORAL_FORMAT_H
32
 
#define DRIZZLED_TEMPORAL_FORMAT_H
 
31
#ifndef DRIZZLED_TEMPORAL_FORMAT_MATCH_H
 
32
#define DRIZZLED_TEMPORAL_FORMAT_MATCH_H
33
33
 
34
34
#include PCRE_HEADER
35
35
 
49
49
  pcre *_re; /**< The compiled regular expression struct */
50
50
  int32_t _error_offset; /**< Any error encountered during compilation or matching */
51
51
  const char *_error;
 
52
  int32_t _match_vector[OUT_VECTOR_SIZE]; /**< Stores match substring indexes */
52
53
  /* Index of the pattern which is a specific temporal part */
53
54
  uint32_t _year_part_index;
54
55
  uint32_t _month_part_index;
130
131
  bool matches(const char *data, size_t data_len, Temporal *to);
131
132
};
132
133
 
 
134
} /* end namespace drizzled */
133
135
 
134
136
/**
135
137
 * Initializes the regular expressions used by the datetime
148
150
 */
149
151
void deinit_temporal_formats();
150
152
 
151
 
} /* end namespace drizzled */
152
 
 
153
 
#endif /* DRIZZLED_TEMPORAL_FORMAT_H */
 
153
#endif /* DRIZZLED_TEMPORAL_FORMAT_MATCH_H */