~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/direct_ref.cc

  • Committer: Olaf van der Spek
  • Date: 2011-03-24 00:16:14 UTC
  • mto: This revision was merged to the branch mainline in revision 2251.
  • Revision ID: olafvdspek@gmail.com-20110324001614-wvmgc6eg52oq2321
Remove const_reference and reference from Session

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
18
18
 */
19
19
 
20
 
#include "config.h"
 
20
#include <config.h>
21
21
 
22
22
#include <drizzled/item/direct_ref.h>
23
23
 
47
47
  return tmp;
48
48
}
49
49
 
50
 
my_decimal *Item_direct_ref::val_decimal(my_decimal *decimal_value)
 
50
type::Decimal *Item_direct_ref::val_decimal(type::Decimal *decimal_value)
51
51
{
52
 
  my_decimal *tmp= (*ref)->val_decimal(decimal_value);
 
52
  type::Decimal *tmp= (*ref)->val_decimal(decimal_value);
53
53
  null_value=(*ref)->null_value;
54
54
  return tmp;
55
55
}
69
69
}
70
70
 
71
71
 
72
 
bool Item_direct_ref::get_date(DRIZZLE_TIME *ltime,uint32_t fuzzydate)
 
72
bool Item_direct_ref::get_date(type::Time &ltime, uint32_t fuzzydate)
73
73
{
74
 
  return (null_value=(*ref)->get_date(ltime,fuzzydate));
 
74
  return (null_value=(*ref)->get_date(ltime, fuzzydate));
75
75
}
76
76
 
77
77
} /* namespace drizzled */