~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/select_result.h

  • Committer: Brian Aker
  • Date: 2011-02-14 05:47:07 UTC
  • mto: This revision was merged to the branch mainline in revision 2167.
  • Revision ID: brian@tangent.org-20110214054707-61nsqgg1g4w1zhx1
Merge in all changes for current_session, etc.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* -*- mode: c++; c-basic-offset: 2; indent-tabs-mode: nil; -*-
2
2
 *  vim:expandtab:shiftwidth=2:tabstop=2:smarttab:
3
3
 *
4
 
 *  Copyright (C) 2008 Sun Microsystems
 
4
 *  Copyright (C) 2008 Sun Microsystems, Inc.
5
5
 *
6
6
 *  This program is free software; you can redistribute it and/or modify
7
7
 *  it under the terms of the GNU General Public License as published by
21
21
#ifndef DRIZZLED_SELECT_RESULT_H
22
22
#define DRIZZLED_SELECT_RESULT_H
23
23
 
 
24
#include <drizzled/current_session.h>
 
25
 
24
26
namespace drizzled
25
27
{
26
28
 
27
29
class Join;
 
30
class Select_Lex_Unit;
28
31
 
29
32
class select_result :public memory::SqlAlloc {
30
33
protected:
31
34
  Session *session;
32
35
  Select_Lex_Unit *unit;
 
36
 
33
37
public:
34
38
  select_result()
35
39
  {
62
66
   ** Functions to provide a interface to select results
63
67
   *****************************************************************************/
64
68
 
65
 
  virtual void send_error(uint32_t errcode, const char *err);
 
69
  virtual void send_error(drizzled::error_t errcode, const char *err);
66
70
 
67
71
  /*
68
72
    Cleanup instance of this class for next execution of a prepared