MySQL 8.0.40
Source Code Documentation
dd::cache::Timestamp_timezone_guard Class Reference

Class to fetch dd::Objects with GMT time. More...

Public Member Functions

 Timestamp_timezone_guard (THD *thd)
 
 ~Timestamp_timezone_guard ()
 

Private Attributes

::Time_zonem_tz
 
THDm_thd
 

Detailed Description

Class to fetch dd::Objects with GMT time.

When dictionary object is fetched to create dd::Objects, the timestamp data should be according to GMT and independent of time_zone. Time_zone data should be added to time column before using the data.

Any timestamp column in dictionary should implement the data retrieval function to return GMT data to dictionary framework but consider time_zone when returning data to server.

Constructor & Destructor Documentation

◆ Timestamp_timezone_guard()

dd::cache::Timestamp_timezone_guard::Timestamp_timezone_guard ( THD thd)
inline

◆ ~Timestamp_timezone_guard()

dd::cache::Timestamp_timezone_guard::~Timestamp_timezone_guard ( )
inline

Member Data Documentation

◆ m_thd

THD* dd::cache::Timestamp_timezone_guard::m_thd
private

◆ m_tz

::Time_zone* dd::cache::Timestamp_timezone_guard::m_tz
private

The documentation for this class was generated from the following file: