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

« back to all changes in this revision

Viewing changes to drizzled/field/real.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:
44
44
{
45
45
  assert(max_length >= pack_length());
46
46
#ifdef WORDS_BIGENDIAN
47
 
  if (low_byte_first != table->s->db_low_byte_first)
 
47
  if (low_byte_first != getTable()->s->db_low_byte_first)
48
48
  {
49
49
    const unsigned char *dptr= from + pack_length();
50
50
    while (dptr-- > from)
61
61
                   uint32_t param_data, bool low_byte_first)
62
62
{
63
63
#ifdef WORDS_BIGENDIAN
64
 
  if (low_byte_first != table->s->db_low_byte_first)
 
64
  if (low_byte_first != getTable()->s->db_low_byte_first)
65
65
  {
66
66
    const unsigned char *dptr= from + pack_length();
67
67
    while (dptr-- > from)