~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/execute.h

  • Committer: Lee Bieber
  • Date: 2011-03-29 22:31:41 UTC
  • mfrom: (2257.1.3 build)
  • Revision ID: kalebral@gmail.com-20110329223141-yxc22h3l2he58sk0
Merge Andrew - 743842: Build failure using GCC 4.6
Merge Stewart - 738022: CachedDirectory silently fails to add entries if stat() fails
Merge Olaf - Common fwd: add copyright, add more declaration

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;
35
35
 
36
36
  void run(std::string &to_execute);
37
37
  void run(const char *arg, size_t length);
 
38
  void run(std::string &execution_string, sql::ResultSet &result_set);
38
39
 
39
40
  Session &session()
40
41
  {
51
52
 
52
53
} /* namespace drizzled */
53
54
 
54
 
#endif /* DRIZZLED_EXECUTE_H */