~drizzle-developers/ubuntu/natty/drizzle/natty

« back to all changes in this revision

Viewing changes to drizzled/tztime.h

  • Committer: Monty Taylor
  • Date: 2010-03-03 19:27:30 UTC
  • mto: (1308.1.2 trunk)
  • mto: This revision was merged to the branch mainline in revision 1278.
  • Revision ID: mordred@inaugust.com-20100303192730-o2o3nmp0lzhuatbe
Tags: upstream-2010.03.1317
ImportĀ upstreamĀ versionĀ 2010.03.1317

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
 
35
35
#include "drizzled/memory/sql_alloc.h"
36
36
 
 
37
namespace drizzled
 
38
{
 
39
 
37
40
class String;
38
41
typedef struct st_drizzle_time DRIZZLE_TIME;
39
42
 
43
46
  Actual time zones which are specified by DB, or via offset
44
47
  or use system functions are its descendants.
45
48
*/
46
 
class Time_zone: public drizzled::memory::SqlAlloc
 
49
class Time_zone: public memory::SqlAlloc
47
50
{
48
51
public:
49
52
  Time_zone() {}                              /* Remove gcc warning */
69
72
 
70
73
  /**
71
74
    We need this only for surpressing warnings, objects of this type are
72
 
    allocated on drizzled::memory::Root and should not require destruction.
 
75
    allocated on memory::Root and should not require destruction.
73
76
  */
74
77
  virtual ~Time_zone() {};
75
78
};
79
82
extern bool     my_tz_init(Session *org_session, const char *default_tzname);
80
83
extern time_t   sec_since_epoch_TIME(DRIZZLE_TIME *t);
81
84
 
 
85
} /* namespace drizzled */
 
86
 
82
87
#endif /* DRIZZLED_TZTIME_H */