~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field/real.cc

  • Committer: Siddharth Prakash Singh
  • Date: 2010-03-26 17:24:57 UTC
  • mto: This revision was merged to the branch mainline in revision 1425.
  • Revision ID: spsneo@spsneo-laptop-20100326172457-vni09y22ktvvefmn
some more sprintf --> snprintf

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