~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field/datetime.cc

  • Committer: Brian Aker
  • Date: 2008-10-06 06:47:29 UTC
  • Revision ID: brian@tangent.org-20081006064729-2i9mhjkzyvow9xsm
RemoveĀ uint.

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
****************************************************************************/
34
34
 
35
35
int Field_datetime::store(const char *from,
36
 
                          uint len,
 
36
                          uint32_t len,
37
37
                          const CHARSET_INFO * const cs __attribute__((unused)))
38
38
{
39
39
  DRIZZLE_TIME time_tmp;
239
239
  return val_buffer;
240
240
}
241
241
 
242
 
bool Field_datetime::get_date(DRIZZLE_TIME *ltime, uint fuzzydate)
 
242
bool Field_datetime::get_date(DRIZZLE_TIME *ltime, uint32_t fuzzydate)
243
243
{
244
244
  int64_t tmp=Field_datetime::val_int();
245
245
  uint32_t part1,part2;
282
282
    ((uint64_t) a > (uint64_t) b) ? 1 : 0;
283
283
}
284
284
 
285
 
void Field_datetime::sort_string(unsigned char *to,uint length __attribute__((unused)))
 
285
void Field_datetime::sort_string(unsigned char *to,uint32_t length __attribute__((unused)))
286
286
{
287
287
#ifdef WORDS_BIGENDIAN
288
288
  if (!table || !table->s->db_low_byte_first)