~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field/real.cc

  • Committer: Brian Aker
  • Date: 2010-10-10 02:00:34 UTC
  • mfrom: (1830.1.5 trunk-drizzle)
  • Revision ID: brian@tangent.org-20101010020034-d67x3d09fssxq1v6
Merge rollup of utf8 and table encapsulation.

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 != getTable()->s->db_low_byte_first)
 
47
  if (low_byte_first != getTable()->getShare()->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 != getTable()->s->db_low_byte_first)
 
64
  if (low_byte_first != getTable()->getShare()->db_low_byte_first)
65
65
  {
66
66
    const unsigned char *dptr= from + pack_length();
67
67
    while (dptr-- > from)