~stewart/drizzle/remove-unused-row-type-in-table-message

« back to all changes in this revision

Viewing changes to drizzled/field/enum.cc

  • Committer: Stewart Smith
  • Date: 2010-07-20 16:35:49 UTC
  • mfrom: (1638.1.28 drizzle)
  • Revision ID: stewart@flamingspork.com-20100720163549-zgcsmroyt0njr92d
merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
60
60
  case 1: ptr[0]= (unsigned char) value;  break;
61
61
  case 2:
62
62
#ifdef WORDS_BIGENDIAN
63
 
  if (table->s->db_low_byte_first)
 
63
  if (getTable()->s->db_low_byte_first)
64
64
  {
65
65
    int2store(ptr,(unsigned short) value);
66
66
  }
159
159
  {
160
160
    uint16_t tmp;
161
161
#ifdef WORDS_BIGENDIAN
162
 
    if (table->s->db_low_byte_first)
 
162
    if (getTable()->s->db_low_byte_first)
163
163
      tmp=sint2korr(ptr);
164
164
    else
165
165
#endif