~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/function/get_user_var.h

  • Committer: Stewart Smith
  • Date: 2010-11-07 04:22:31 UTC
  • mto: (1911.1.2 build)
  • mto: This revision was merged to the branch mainline in revision 1912.
  • Revision ID: stewart@flamingspork.com-20101107042231-ola4sl7j0qvg58tz
fix ARCHIVE storage engine calling exit (lintian warning). Was because we were linking in libinternal into libazio, which links into archive plugin. Just link libinternal into the command line utilities.

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
21
21
#define DRIZZLED_FUNCTION_GET_USER_VAR_H
22
22
 
23
23
#include <drizzled/function/func.h>
24
 
#include <drizzled/lex_string.h>
25
24
 
26
25
namespace drizzled
27
26
{
46
45
  LEX_STRING get_name() { return name; }
47
46
  double val_real();
48
47
  int64_t val_int();
49
 
  type::Decimal *val_decimal(type::Decimal*);
 
48
  my_decimal *val_decimal(my_decimal*);
50
49
  String *val_str(String* str);
51
50
  void fix_length_and_dec();
52
51
  virtual void print(String *str, enum_query_type query_type);