Hi All,
Within my custom storage engine, I want to get time zone of client
machine from where I received current query, I am using following code
but it does not return any thing.
THD* thd = this->ha_thd();
system_variables sys_vars = thd->variables;
bool time_zone_used = thd->time_zone_used;
Time_zone* timezone = sys_vars.time_zone;
const char* name = timezone->get_name()->ptr(); // Unhandled exception
Can anyone help me how can I get system (MySQL server machine) and
session (mysql client machine) time zone information?
Regards,
SMA
--
MySQL Internals Mailing List
For list archives:
http://lists.mysql.com/internals
To unsubscribe:
http://lists.mysql.com/internals