~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/direct_ref.cc

  • Committer: Patrick Crews
  • Date: 2010-09-14 20:21:03 UTC
  • mto: (1771.1.1 pcrews)
  • mto: This revision was merged to the branch mainline in revision 1772.
  • Revision ID: gleebix@gmail.com-20100914202103-1db2n0bshzafep19
Moved transaction_log tests into updated non-publisher-based tree

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* -*- mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; -*-
2
2
 *  vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
3
3
 *
4
 
 *  Copyright (C) 2008 Sun Microsystems, Inc.
 
4
 *  Copyright (C) 2008 Sun Microsystems
5
5
 *
6
6
 *  This program is free software; you can redistribute it and/or modify
7
7
 *  it under the terms of the GNU General Public License as published by
47
47
  return tmp;
48
48
}
49
49
 
50
 
type::Decimal *Item_direct_ref::val_decimal(type::Decimal *decimal_value)
 
50
my_decimal *Item_direct_ref::val_decimal(my_decimal *decimal_value)
51
51
{
52
 
  type::Decimal *tmp= (*ref)->val_decimal(decimal_value);
 
52
  my_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(type::Time &ltime, uint32_t fuzzydate)
 
72
bool Item_direct_ref::get_date(DRIZZLE_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 */