~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/field.cc

  • Committer: Olaf van der Spek
  • Date: 2011-06-22 20:05:58 UTC
  • mto: This revision was merged to the branch mainline in revision 2347.
  • Revision ID: olafvdspek@gmail.com-20110622200558-oq3jb987di9yj70r
Refactor

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
 
35
35
#include <boost/dynamic_bitset.hpp>
36
36
 
37
 
namespace drizzled
38
 
{
 
37
namespace drizzled {
39
38
 
40
39
/**
41
40
  Store the pointer to this item field into a list if not already there.
63
62
  while ((curr_item= item_list_it++))
64
63
  {
65
64
    if (curr_item->eq(this, 1))
66
 
      return(false); /* Already in the set. */
 
65
      return false; /* Already in the set. */
67
66
  }
68
67
  item_list->push_back(this);
69
 
  return(false);
 
68
  return false;
70
69
}
71
70
 
72
71
 
1197
1196
    res= field_conv(to,result_field);
1198
1197
    null_value=0;
1199
1198
  }
1200
 
  return(res);
 
1199
  return res;
1201
1200
}
1202
1201
 
1203
1202