~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/decimal.cc

  • Committer: Olaf van der Spek
  • Date: 2011-07-04 19:11:47 UTC
  • mto: This revision was merged to the branch mainline in revision 2367.
  • Revision ID: olafvdspek@gmail.com-20110704191147-s99ojek811zi1fzj
Remove unused Name_resolution_context::error_reporter

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
 
#include <drizzled/charset_info.h>
 
22
#include <drizzled/charset.h>
23
23
#include <drizzled/field.h>
24
24
#include <drizzled/item/decimal.h>
25
25
 
27
27
{
28
28
 
29
29
Item_decimal::Item_decimal(const char *str_arg, uint32_t length,
30
 
                           const CHARSET_INFO * const charset)
 
30
                           const charset_info_st * const charset)
31
31
{
32
32
  decimal_value.store(E_DEC_FATAL_ERROR, str_arg, length, charset);
33
33
  name= (char*) str_arg;
108
108
  return result;
109
109
}
110
110
 
111
 
void Item_decimal::print(String *str, enum_query_type)
 
111
void Item_decimal::print(String *str)
112
112
{
113
113
  class_decimal2string(&decimal_value, 0, &str_value);
114
114
  str->append(str_value);