~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/server_includes.h

  • Committer: Jay Pipes
  • Date: 2009-02-28 17:49:22 UTC
  • mto: (910.2.6 mordred-noatomics)
  • mto: This revision was merged to the branch mainline in revision 908.
  • Revision ID: jpipes@serialcoder-20090228174922-jczgt4d0662fqmnf
Merging in old r902 temporal changes

Show diffs side-by-side

added added

removed removed

Lines of Context:
183
183
extern struct system_status_var global_status_var;
184
184
extern struct rand_struct sql_rand;
185
185
 
186
 
extern const char *opt_date_time_formats[];
187
 
extern KNOWN_DATE_TIME_FORMAT known_date_time_formats[];
188
 
 
189
186
extern Table *unused_tables;
190
187
extern const char* any_db;
191
188
extern struct my_option my_long_options[];
245
242
 
246
243
extern LEX_STRING interval_type_to_name[];
247
244
 
248
 
extern DATE_TIME_FORMAT *date_time_format_make(enum enum_drizzle_timestamp_type format_type,
249
 
                                               const char *format_str,
250
 
                                               uint32_t format_length);
251
 
extern DATE_TIME_FORMAT *date_time_format_copy(Session *session,
252
 
                                               DATE_TIME_FORMAT *format);
253
 
const char *get_date_time_format_str(KNOWN_DATE_TIME_FORMAT *format,
254
 
                                                             enum enum_drizzle_timestamp_type type);
255
 
void make_datetime(const DATE_TIME_FORMAT *format, const DRIZZLE_TIME *l_time,
256
 
                   String *str);
257
 
void make_date(const DATE_TIME_FORMAT *format, const DRIZZLE_TIME *l_time,
258
 
               String *str);
259
 
void make_time(const DATE_TIME_FORMAT *format, const DRIZZLE_TIME *l_time,
260
 
               String *str);
 
245
void make_datetime(const DRIZZLE_TIME *l_time, String *str);
 
246
void make_date(const DRIZZLE_TIME *l_time, String *str);
 
247
void make_time(const DRIZZLE_TIME *l_time, String *str);
261
248
int my_time_compare(DRIZZLE_TIME *a, DRIZZLE_TIME *b);
262
249
uint64_t get_datetime_value(Session *session, Item ***item_arg, Item **cache_arg,
263
250
                             Item *warn_item, bool *is_null);