~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/query_rewrite.h

  • Committer: Mark Atwood
  • Date: 2010-06-24 03:15:21 UTC
  • mto: (1637.2.4 build)
  • mto: This revision was merged to the branch mainline in revision 1639.
  • Revision ID: me@mark.atwood.name-20100624031521-gafmppfbf5afm68w
new syslog module, with plugins for query log, error message, and SYSLOG() function

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
#ifndef DRIZZLED_PLUGIN_QUERY_REWRITE_H
25
25
#define DRIZZLED_PLUGIN_QUERY_REWRITE_H
26
26
 
27
 
#include <drizzled/atomics.h>
28
 
#include <drizzled/plugin/plugin.h>
29
 
 
30
 
#include <drizzled/visibility.h>
 
27
#include "drizzled/atomics.h"
 
28
#include "drizzled/plugin/plugin.h"
31
29
 
32
30
/**
33
31
 * @file Defines the API for a QueryRewriter.  
42
40
/**
43
41
 * Class which rewrites queries
44
42
 */
45
 
class DRIZZLED_API QueryRewriter : public Plugin
 
43
class QueryRewriter : public Plugin
46
44
{
47
45
 
48
46
public:
71
69
   * TODO: does it make sense to have multiple rewriters?
72
70
   *
73
71
   * @param[in] schema the schema the current session is
74
 
   * @param[out] to_rewrite the query to rewrite
 
72
   * @param[out] to_rewrite string representing the query to rewrite
75
73
   */
76
74
  static void rewriteQuery(const std::string &schema, std::string &to_rewrite);
77
75