~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/memcached_functions/memc_get_by_key.h

Merge Monty

Show diffs side-by-side

added added

removed removed

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