~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/int_with_ref.cc

  • Committer: Brian Aker
  • Date: 2009-08-04 06:21:17 UTC
  • mfrom: (1108.2.2 merge)
  • Revision ID: brian@gaz-20090804062117-fef8x6y3ydzrvab3
Merge Brian

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
17
17
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
18
18
 */
19
19
 
20
 
#include "config.h"
21
 
 
 
20
#include <drizzled/server_includes.h>
 
21
#include CSTDINT_H
22
22
#include <drizzled/item/uint.h>
23
23
#include <drizzled/item/int_with_ref.h>
24
24
 
25
 
namespace drizzled
26
 
{
27
 
 
28
25
Item *Item_int_with_ref::clone_item()
29
26
{
30
27
  assert(ref->const_item());
37
34
          new Item_int(ref->name, ref->val_int(), ref->max_length));
38
35
}
39
36
 
40
 
} /* namespace drizzled */