~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/select_result.h

  • Committer: lbieber
  • Date: 2010-10-02 19:48:35 UTC
  • mfrom: (1730.6.19 drizzle-make-lcov)
  • Revision ID: lbieber@orisndriz08-20101002194835-q5zd9qc4lvx1xnfo
Merge Hartmut - clean up lex, now require flex to build, also "make lcov" improvements

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, Inc.
 
4
 *  Copyright (C) 2008 Sun Microsystems
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
 
 
26
24
namespace drizzled
27
25
{
28
26
 
32
30
protected:
33
31
  Session *session;
34
32
  Select_Lex_Unit *unit;
35
 
 
36
33
public:
37
34
  select_result()
38
35
  {
39
36
    session= current_session;
40
37
  }
41
 
  virtual ~select_result() {}
 
38
  virtual ~select_result() {};
42
39
  virtual int prepare(List<Item> &,
43
40
                      Select_Lex_Unit *u)
44
41
  {
65
62
   ** Functions to provide a interface to select results
66
63
   *****************************************************************************/
67
64
 
68
 
  virtual void send_error(drizzled::error_t errcode, const char *err);
 
65
  virtual void send_error(uint32_t errcode, const char *err);
69
66
 
70
67
  /*
71
68
    Cleanup instance of this class for next execution of a prepared