~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/query_cache.h

Some carnage. I'm sure it'll need fixed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
    false = success
38
38
    true  = failure
39
39
*/
40
 
class QueryCache
 
40
class QueryCache : public Plugin
41
41
{
42
 
  std::string name;
 
42
  QueryCache();
 
43
  QueryCache(const QueryCache &);
43
44
public:
44
 
  QueryCache(std::string name_arg): name(name_arg) {}
45
 
  QueryCache(const char *name_arg): name(name_arg) {}
46
 
 
47
 
  std::string getName() { return name; }
 
45
  explicit QueryCache(std::string name_arg): Plugin(name_arg) {}
48
46
 
49
47
  virtual ~QueryCache() {}
50
48
  /* Lookup the cache and transmit the data back to the client */