~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/execute.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_EXECUTE_H
22
 
#define DRIZZLED_EXECUTE_H
23
 
 
24
 
namespace drizzled
25
 
{
26
 
 
27
 
class Execute
 
21
#pragma once
 
22
 
 
23
#include <drizzled/visibility.h>
 
24
 
 
25
namespace drizzled {
 
26
 
 
27
class DRIZZLED_API Execute
28
28
{
29
29
  bool wait;
30
30
  Session &_session;
31
31
 
32
32
public:
33
33
  Execute(Session&, bool wait_arg);
34
 
  ~Execute();
35
34
 
36
 
  void run(std::string &to_execute);
37
 
  void run(const char *arg, size_t length);
 
35
  void run(const std::string&);
 
36
  void run(const char*, size_t);
 
37
  void run(const std::string&, sql::ResultSet&);
38
38
 
39
39
  Session &session()
40
40
  {
51
51
 
52
52
} /* namespace drizzled */
53
53
 
54
 
#endif /* DRIZZLED_EXECUTE_H */