~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/select.h

Updated pandora-build files to version 0.133

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) 2009 Sun Microsystems, Inc.
 
4
 *  Copyright (C) 2009 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
32
32
 
33
33
class Select : public Statement
34
34
{
 
35
  /* These will move out once we have args for table functions */
 
36
  std::string show_schema;
 
37
  std::string show_table;
 
38
 
35
39
public:
36
 
  Select(Session *in_session);
 
40
  Select(Session *in_session)
 
41
    :
 
42
      Statement(in_session)
 
43
  {}
 
44
 
 
45
  void setShowPredicate(const std::string &schema_arg, const std::string &table_arg)
 
46
  {
 
47
    show_schema= schema_arg;
 
48
    show_table= table_arg;
 
49
  }
 
50
 
 
51
  const std::string getShowSchema()
 
52
  {
 
53
    return show_schema;
 
54
  }
 
55
 
 
56
  const std::string getShowTable()
 
57
  {
 
58
    return show_table;
 
59
  }
37
60
 
38
61
  bool execute();
39
62
};