~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Toru Maesaka
  • Date: 2008-12-22 03:34:28 UTC
  • mto: (722.1.8 devel)
  • mto: This revision was merged to the branch mainline in revision 727.
  • Revision ID: dev@torum.net-20081222033428-fhvtejjfuvlvivrg
Use time_t instead of my_time_t which should be safe (as in wide enough) on POSIX compliant systems.

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
}
52
52
 
53
53
/**
54
 
    Converts current time in my_time_t to DRIZZLE_TIME represenatation for local
 
54
    Converts current time in time_t to DRIZZLE_TIME represenatation for local
55
55
    time zone. Defines time zone (local) used for whole CURDATE function.
56
56
*/
57
57
void Item_func_curdate_local::store_now_in_TIME(DRIZZLE_TIME *now_time)
62
62
}
63
63
 
64
64
/**
65
 
    Converts current time in my_time_t to DRIZZLE_TIME represenatation for UTC
 
65
    Converts current time in time_t to DRIZZLE_TIME represenatation for UTC
66
66
    time zone. Defines time zone (UTC) used for whole UTC_DATE function.
67
67
*/
68
68
void Item_func_curdate_utc::store_now_in_TIME(DRIZZLE_TIME *now_time)