~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/query_rewrite.h

  • Committer: Olaf van der Spek
  • Date: 2011-08-14 17:04:01 UTC
  • mto: This revision was merged to the branch mainline in revision 2407.
  • Revision ID: olafvdspek@gmail.com-20110814170401-mk7dg2patdedfr7k
Remove unnecessary constructors and destructors

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
 */
44
44
class DRIZZLED_API QueryRewriter : public Plugin
45
45
{
46
 
 
47
46
public:
48
 
 
49
47
  explicit QueryRewriter(std::string name_arg)
50
48
    : 
51
49
      Plugin(name_arg, "QueryRewriter")
52
50
  {}
53
51
 
54
 
  virtual ~QueryRewriter() {}
55
 
 
56
52
  /**
57
53
   * Rewrite a query in the form of a std::string
58
54
   *
73
69
   * @param[out] to_rewrite the query to rewrite
74
70
   */
75
71
  static void rewriteQuery(const std::string &schema, std::string &to_rewrite);
76
 
 
77
 
private:
78
 
 
79
 
  QueryRewriter();
80
 
  QueryRewriter(const QueryRewriter&);
81
 
  QueryRewriter& operator=(const QueryRewriter&);
82
 
 
83
 
 
84
72
};
85
73
 
86
74
} /* namespace plugin */
87
 
 
88
75
} /* namespace drizzled */
89
76