~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field/datetime.cc

  • Committer: Brian Aker
  • Date: 2009-01-23 06:19:11 UTC
  • mfrom: (779.1.29 devel)
  • mto: (779.3.3 devel)
  • mto: This revision was merged to the branch mainline in revision 811.
  • Revision ID: brian@tangent.org-20090123061911-59es83nxzlyvh5fi
Merge of Monty

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
 
40
40
int Field_datetime::store(const char *from,
41
41
                          uint32_t len,
42
 
                          const CHARSET_INFO * const cs __attribute__((unused)))
 
42
                          const CHARSET_INFO * const )
43
43
{
44
44
  DRIZZLE_TIME time_tmp;
45
45
  int error;
91
91
 
92
92
 
93
93
int Field_datetime::store(int64_t nr,
94
 
                          bool unsigned_val __attribute__((unused)))
 
94
                          bool )
95
95
{
96
96
  DRIZZLE_TIME not_used;
97
97
  int error;
197
197
 
198
198
 
199
199
String *Field_datetime::val_str(String *val_buffer,
200
 
                                String *val_ptr __attribute__((unused)))
 
200
                                String *)
201
201
{
202
202
  val_buffer->alloc(field_length);
203
203
  val_buffer->length(field_length);
287
287
    ((uint64_t) a > (uint64_t) b) ? 1 : 0;
288
288
}
289
289
 
290
 
void Field_datetime::sort_string(unsigned char *to,uint32_t length __attribute__((unused)))
 
290
void Field_datetime::sort_string(unsigned char *to,uint32_t )
291
291
{
292
292
#ifdef WORDS_BIGENDIAN
293
293
  if (!table || !table->s->db_low_byte_first)