~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/query_rewrite.h

  • Committer: Mark Atwood
  • Date: 2011-08-17 19:14:47 UTC
  • mfrom: (2385.3.17 rf)
  • Revision ID: me@mark.atwood.name-20110817191447-h86yzddvycd0xmof
mergeĀ lp:~olafvdspek/drizzle/refactor6

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