17
17
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
22
22
#include "drizzled/function/time/curdate.h"
23
23
#include "drizzled/tztime.h"
24
24
#include "drizzled/temporal.h"
25
25
#include "drizzled/session.h"
30
27
void Item_func_curdate::fix_length_and_dec()
32
29
collation.set(&my_charset_bin);
36
33
store_now_in_TIME(<ime);
38
35
/* We don't need to set second_part and neg because they already 0 */
39
36
ltime.hour= ltime.minute= ltime.second= 0;
43
40
* @TODO Remove ltime completely when timezones are reworked. Using this