~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to sql/tztime.h

Merging trunk changes from over weekend.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
#pragma interface                       /* gcc class interface */
19
19
#endif
20
20
 
21
 
#if !defined(TESTTIME) && !defined(TZINFO2SQL)
22
 
 
23
21
/**
24
22
  This class represents abstract time zone and provides 
25
23
  basic interface for MYSQL_TIME <-> my_time_t conversion.
61
59
extern Time_zone * my_tz_SYSTEM;
62
60
extern Time_zone * my_tz_OFFSET0;
63
61
extern Time_zone * my_tz_find(THD *thd, const String *name);
64
 
extern my_bool     my_tz_init(THD *org_thd, const char *default_tzname, my_bool bootstrap);
 
62
extern bool     my_tz_init(THD *org_thd, const char *default_tzname, my_bool bootstrap);
65
63
extern void        my_tz_free();
66
64
extern my_time_t   sec_since_epoch_TIME(MYSQL_TIME *t);
67
 
 
68
 
/**
69
 
  Number of elements in table list produced by my_tz_get_table_list()
70
 
  (this table list contains tables which are needed for dynamical loading
71
 
  of time zone descriptions). Actually it is imlementation detail that
72
 
  should not be used anywhere outside of tztime.h and tztime.cc.
73
 
*/
74
 
 
75
 
static const int MY_TZ_TABLES_COUNT= 4;
76
 
 
77
 
 
78
 
#endif /* !defined(TESTTIME) && !defined(TZINFO2SQL) */