~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to server/item_timefunc.cc

Merged in Jay's tree.

Show diffs side-by-side

added added

removed removed

Lines of Context:
969
969
  if (get_arg0_date(&ltime, TIME_NO_ZERO_DATE))
970
970
  {
971
971
    /* got NULL, leave the incl_endp intact */
972
 
    return LONGLONG_MIN;
 
972
    return INT64_MIN;
973
973
  }
974
974
  res=(int64_t) calc_daynr(ltime.year,ltime.month,ltime.day);
975
975
  
1222
1222
  if (get_arg0_date(&ltime, TIME_FUZZY_DATE))
1223
1223
  {
1224
1224
    /* got NULL, leave the incl_endp intact */
1225
 
    return LONGLONG_MIN;
 
1225
    return INT64_MIN;
1226
1226
  }
1227
1227
 
1228
1228
  /*