~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/statement/show_warnings.h

  • Committer: pcrews
  • Date: 2011-05-24 17:36:24 UTC
  • mfrom: (1099.4.232 drizzle)
  • Revision ID: pcrews@lucid32-20110524173624-mwr1bvq6fa1r01ao
Updated translations + 2011.05.18 tarball tag

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_STATEMENT_SHOW_WARNINGS_H
22
 
#define DRIZZLED_STATEMENT_SHOW_WARNINGS_H
 
21
#pragma once
23
22
 
24
23
#include <drizzled/statement.h>
25
24
 
26
 
namespace drizzled
27
 
{
28
 
 
29
 
class Session;
30
 
 
31
 
namespace statement
32
 
{
 
25
namespace drizzled {
 
26
namespace statement {
33
27
 
34
28
class ShowWarnings : public Statement
35
29
{
37
31
  ShowWarnings(Session *in_session) :
38
32
    Statement(in_session)
39
33
  {
40
 
    getSession()->getLex()->sql_command= SQLCOM_SHOW_WARNS;
 
34
    set_command(SQLCOM_SHOW_WARNS);
41
35
  }
42
36
 
43
37
  bool execute();
47
41
 
48
42
} /* namespace drizzled */
49
43
 
50
 
#endif /* DRIZZLED_STATEMENT_SHOW_WARNINGS_H */