~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/replace_select.h

  • Committer: Olaf van der Spek
  • Date: 2011-07-04 19:11:47 UTC
  • mto: This revision was merged to the branch mainline in revision 2367.
  • Revision ID: olafvdspek@gmail.com-20110704191147-s99ojek811zi1fzj
Remove unused Name_resolution_context::error_reporter

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
19
19
 */
20
20
 
21
 
#ifndef DRIZZLED_STATEMENT_REPLACE_SELECT_H
22
 
#define DRIZZLED_STATEMENT_REPLACE_SELECT_H
 
21
#pragma once
23
22
 
24
23
#include <drizzled/statement.h>
25
24
 
26
 
namespace drizzled
27
 
{
28
 
class Session;
29
 
 
30
 
namespace statement
31
 
{
 
25
namespace drizzled {
 
26
namespace statement {
32
27
 
33
28
class ReplaceSelect : public Statement
34
29
{
36
31
  ReplaceSelect(Session *in_session) :
37
32
    Statement(in_session)
38
33
  {
39
 
    getSession()->getLex()->sql_command= SQLCOM_REPLACE_SELECT;
 
34
    set_command(SQLCOM_REPLACE_SELECT);
40
35
  }
41
36
 
42
37
  bool execute();
50
45
 
51
46
} /* namespace drizzled */
52
47
 
53
 
#endif /* DRIZZLED_STATEMENT_REPLACE_SELECT_H */