~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/blob.h

  • Committer: Lee
  • Date: 2009-01-01 03:07:33 UTC
  • mto: (758.1.3 devel)
  • mto: This revision was merged to the branch mainline in revision 759.
  • Revision ID: lbieber@lbieber-desktop-20090101030733-fb411b55f07vij8q
more header file cleanup

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
22
22
 
23
23
#include <drizzled/item/string.h>
24
24
 
25
 
namespace drizzled
26
 
{
27
 
 
28
25
class Item_blob :public Item_string
29
26
{
30
27
public:
31
 
  Item_blob(const char *item_name, uint32_t length) :
32
 
    Item_string(item_name, length, &my_charset_bin)
 
28
  Item_blob(const char *name, uint32_t length) :
 
29
    Item_string(name, length, &my_charset_bin)
33
30
  { max_length= length; }
34
31
  enum Type type() const { return TYPE_HOLDER; }
35
32
  enum_field_types field_type() const { return DRIZZLE_TYPE_BLOB; }
36
33
};
37
34
 
38
 
} /* namespace drizzled */
39
35
 
40
36
#endif /* DRIZZLED_ITEM_BLOB_H */