~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/plugin/query_rewrite.h

  • Committer: Brian Aker
  • Date: 2010-08-18 19:37:19 UTC
  • mto: This revision was merged to the branch mainline in revision 1720.
  • Revision ID: brian@tangent.org-20100818193719-bxxzn1pi22styowd
created function that can be used to simply crash the server.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
 
27
27
#include "drizzled/atomics.h"
28
28
#include "drizzled/plugin/plugin.h"
29
 
#include "drizzled/session.h"
30
29
 
31
30
/**
32
31
 * @file Defines the API for a QueryRewriter.  
70
69
   * TODO: does it make sense to have multiple rewriters?
71
70
   *
72
71
   * @param[in] schema the schema the current session is
73
 
   * @param[out] to_rewrite the query to rewrite
 
72
   * @param[out] to_rewrite string representing the query to rewrite
74
73
   */
75
74
  static void rewriteQuery(const std::string &schema, std::string &to_rewrite);
76
75