~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/function/str/strfunc.cc

  • Committer: Mark Atwood
  • Date: 2011-08-17 19:14:47 UTC
  • mfrom: (2385.3.17 rf)
  • Revision ID: me@mark.atwood.name-20110817191447-h86yzddvycd0xmof
mergeĀ lp:~olafvdspek/drizzle/refactor6

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
 
28
28
#include <config.h>
29
29
#include <zlib.h>
30
 
#include <drizzled/query_id.h>
31
30
#include <drizzled/error.h>
32
31
#include <drizzled/function/str/strfunc.h>
33
32
 
34
33
using namespace std;
35
34
 
36
 
namespace drizzled
37
 
{
38
 
 
39
 
Item_str_func::~Item_str_func() {}
 
35
namespace drizzled {
40
36
 
41
37
bool Item_str_func::fix_fields(Session *session, Item **ref)
42
38
{
45
41
    In Item_str_func::check_well_formed_result() we may set null_value
46
42
    flag on the same condition as in test() below.
47
43
  */
48
 
  maybe_null= (maybe_null || true);
 
44
  maybe_null= true;
49
45
  return res;
50
46
}
51
47
 
52
 
 
53
48
type::Decimal *Item_str_func::val_decimal(type::Decimal *decimal_value)
54
49
{
55
50
  assert(fixed == 1);