~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/memcached_functions/memc_increment.h

  • Committer: Monty Taylor
  • Date: 2010-02-05 08:11:15 UTC
  • mfrom: (1283 build)
  • mto: (1273.13.43 fix_is)
  • mto: This revision was merged to the branch mainline in revision 1300.
  • Revision ID: mordred@inaugust.com-20100205081115-dr82nvrwv4lvw7sd
Merged trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
#include <drizzled/function/str/strfunc.h>
36
36
 
37
37
/* implements memc_increment */
38
 
class MemcachedIncrement : public Item_str_func
 
38
class MemcachedIncrement : public drizzled::Item_str_func
39
39
{
40
40
public:
41
41
  MemcachedIncrement()
42
42
    : 
43
43
      Item_str_func(),
44
 
      failure_buff("FAILURE", &my_charset_bin)
 
44
      failure_buff("FAILURE", &drizzled::my_charset_bin)
45
45
  {}
46
46
 
47
47
  const char *func_name() const
49
49
    return "memc_increment";
50
50
  }
51
51
 
52
 
  String *val_str(String *);
 
52
  drizzled::String *val_str(drizzled::String *);
53
53
 
54
54
  void fix_length_and_dec()
55
55
  {
57
57
  }
58
58
 
59
59
private:
60
 
  String failure_buff;
61
 
  String buffer;
 
60
  drizzled::String failure_buff;
 
61
  drizzled::String buffer;
62
62
};
63
63
 
64
64
#endif /* PLUGIN_MEMCACHED_FUNCTIONS_MEMC_INCREMENT_H */