~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/function/time/now.cc

  • Committer: Jay Pipes
  • Date: 2009-02-28 20:43:31 UTC
  • mto: (910.2.6 mordred-noatomics)
  • mto: This revision was merged to the branch mainline in revision 912.
  • Revision ID: jpipes@serialcoder-20090228204331-6x804cdbfzyy9w8i
Merged in remove-timezone work

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
{
36
36
  decimals= DATETIME_DEC;
37
37
  collation.set(&my_charset_bin);
 
38
  
 
39
  memset(&ltime, 0, sizeof(DRIZZLE_TIME));
 
40
 
 
41
  ltime.time_type= DRIZZLE_TIMESTAMP_DATETIME;
38
42
 
39
43
  store_now_in_TIME(&ltime);
40
44
  value= (int64_t) TIME_to_uint64_t_datetime(&ltime);