~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/memcached_functions/memc_stats.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:
37
37
#include <libmemcached/memcached.h>
38
38
 
39
39
/* implements memc_stats */
40
 
class MemcachedStats: public Item_str_func
 
40
class MemcachedStats: public drizzled::Item_str_func
41
41
{
42
42
public:
43
43
  MemcachedStats()
44
44
    :
45
45
      Item_str_func(),
46
 
      failure_buff("FAILURE: ", &my_charset_bin),
47
 
      results_buff("", &my_charset_bin)
 
46
      failure_buff("FAILURE: ", &drizzled::my_charset_bin),
 
47
      results_buff("", &drizzled::my_charset_bin)
48
48
  {
49
49
  }
50
50
 
53
53
    return "memc_stats";
54
54
  }
55
55
 
56
 
  String *val_str(String *);
 
56
  drizzled::String *val_str(drizzled::String *);
57
57
 
58
58
  void fix_length_and_dec()
59
59
  {
63
63
private:
64
64
  void setFailureString(const char *error);
65
65
 
66
 
  String failure_buff;
67
 
  String results_buff;
 
66
  drizzled::String failure_buff;
 
67
  drizzled::String results_buff;
68
68
};
69
69
 
70
70
#endif /* PLUGIN_MEMCACHED_FUNCTIONS_MEMC_STATS_H */