~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field/num.h

  • Committer: Stewart Smith
  • Date: 2009-08-20 17:15:54 UTC
  • mto: (1119.2.2 merge)
  • mto: This revision was merged to the branch mainline in revision 1124.
  • Revision ID: stewart@flamingspork.com-20090820171554-72eo1tqlc4n64rak
Valgrind 3.5 requires --alignment to be a power of 2 between 16 and 4096. The specifying --alignment is not important for us, so remove it.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* -*- mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; -*-
 
1
/* - mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; -*-
2
2
 *  vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
3
3
 *
4
4
 *  Copyright (C) 2008 MySQL
18
18
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
19
19
 */
20
20
 
21
 
#ifndef DRIZZLED_FIELD_NUM_H
22
 
#define DRIZZLED_FIELD_NUM_H
23
 
 
24
 
#include "drizzled/field.h"
25
 
 
26
 
namespace drizzled
27
 
{
28
 
 
29
 
class Field_num :public Field 
30
 
{
 
21
#ifndef DRIZZLE_SERVER_FIELD_NUM
 
22
#define DRIZZLE_SERVER_FIELD_NUM
 
23
 
 
24
class Field_num :public Field {
31
25
public:
32
26
  const uint8_t dec;
33
27
  bool decimal_precision;       // Purify cannot handle bit fields & only for decimal type
52
46
               int64_t signed_min, int64_t signed_max);
53
47
};
54
48
 
55
 
} /* namespace drizzled */
56
49
 
57
 
#endif /* DRIZZLED_FIELD_NUM_H */
 
50
#endif