~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to server/time.cc

Merged in from trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
966
966
int
967
967
my_time_compare(MYSQL_TIME *a, MYSQL_TIME *b)
968
968
{
969
 
  my_uint64_t a_t= TIME_to_uint64_t_datetime(a);
970
 
  my_uint64_t b_t= TIME_to_uint64_t_datetime(b);
 
969
  uint64_t a_t= TIME_to_uint64_t_datetime(a);
 
970
  uint64_t b_t= TIME_to_uint64_t_datetime(b);
971
971
 
972
972
  if (a_t > b_t)
973
973
    return 1;