~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/query_rewrite.cc

  • Committer: Brian Aker
  • Date: 2010-03-10 06:06:57 UTC
  • mfrom: (1307.1.6 new-query-rewrite)
  • Revision ID: brian@gaz-20100310060657-dfw6cqq592v0vdcl
Merge in Padraig changes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
64
64
 * This is the QueryRewriter::rewrite entry point.
65
65
 * This gets called from within the Drizzle kernel.
66
66
 */
67
 
void QueryRewriter::rewriteQuery(string &to_rewrite)
 
67
void QueryRewriter::rewriteQuery(const string &schema, string &to_rewrite)
68
68
{
69
69
  for (vector<plugin::QueryRewriter *>::iterator iter= all_rewriters.begin();
70
70
       iter != all_rewriters.end();
71
71
       ++iter)
72
72
  {
73
 
    (*iter)->rewrite(to_rewrite);
 
73
    (*iter)->rewrite(schema, to_rewrite);
74
74
  }
75
75
}
76
76