~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/function/time/to_days.h

  • Committer: Monty Taylor
  • Date: 2009-03-03 07:39:39 UTC
  • mto: This revision was merged to the branch mainline in revision 910.
  • Revision ID: mordred@inaugust.com-20090303073939-rfswfdo68klfcp1o
Updated comment version indicators to handle drizzle versions.

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
20
20
#ifndef DRIZZLED_FUNCTION_TIME_TO_DAYS_H
21
21
#define DRIZZLED_FUNCTION_TIME_TO_DAYS_H
22
22
 
23
 
#include <drizzled/function/math/int.h>
24
 
 
25
 
namespace drizzled
26
 
{
 
23
#include "drizzled/function/math/int.h"
27
24
 
28
25
class Item_func_to_days :public Item_int_func
29
26
{
37
34
    max_length=6*MY_CHARSET_BIN_MB_MAXLEN;
38
35
    maybe_null=1;
39
36
  }
 
37
  enum_monotonicity_info get_monotonicity_info() const;
40
38
  int64_t val_int_endpoint(bool left_endp, bool *incl_endp);
 
39
  bool check_vcol_func_processor(unsigned char *)
 
40
  { return false; }
41
41
};
42
42
 
43
 
} /* namespace drizzled */
44
 
 
45
43
#endif /* DRIZZLED_FUNCTION_TIME_TO_DAYS_H */