~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/function/get_user_var.cc

  • Committer: Lee Bieber
  • Date: 2011-02-23 23:22:48 UTC
  • mfrom: (2183.2.20 list2)
  • mto: This revision was merged to the branch mainline in revision 2197.
  • Revision ID: kalebral@gmail.com-20110223232248-ev4y8pyt16b806o0
Merge Olaf - Use List::size()

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 <float.h>
23
23
 
25
25
#include <drizzled/item/null.h>
26
26
#include <drizzled/sql_parse.h>
27
27
#include <drizzled/session.h>
 
28
#include <drizzled/user_var_entry.h>
28
29
 
29
30
namespace drizzled
30
31
{
47
48
}
48
49
 
49
50
 
50
 
my_decimal *Item_func_get_user_var::val_decimal(my_decimal *dec)
 
51
type::Decimal *Item_func_get_user_var::val_decimal(type::Decimal *dec)
51
52
{
52
53
  assert(fixed == 1);
53
54
  if (!var_entry)