Added by Alexander Barkov
| 2446 | |
| 2447 | // Added by Alexander Barkov |
| 2448 | static struct tm *gmtime_mysql(const time_t *timep, struct tm *tm) |
| 2449 | { |
| 2450 | MYSQL_TIME ltime; |
| 2451 | thd_gmt_sec_to_TIME(current_thd, <ime, (my_time_t) *timep); |
| 2452 | TIME_to_localtime(tm, <ime); |
| 2453 | return tm; |
| 2454 | } // end of gmtime_mysql |
| 2455 | |
| 2456 | /***********************************************************************/ |
| 2457 | /* GetGmTime: returns a pointer to a static tm structure obtained */ |
no test coverage detected