~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/direct_ref.cc

Merge refactored command line using for innodb

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