~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/direct_ref.cc

  • Committer: Lee Bieber
  • Date: 2010-11-14 23:15:42 UTC
  • mfrom: (1929.1.42 warning-stack-frame)
  • Revision ID: kalebral@gmail.com-20101114231542-fnnu6ydd2p17n582
Merge Monty - fix bug 672372: some functions use > 32k stack

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 */