~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/name_resolution_context.h

Merge Stewart's dead code removal

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
20
20
#ifndef DRIZZLED_NAME_RESOLUTION_CONTEXT_H
21
21
#define DRIZZLED_NAME_RESOLUTION_CONTEXT_H
22
22
 
23
 
#include "drizzled/item.h"
24
 
 
25
 
namespace drizzled
26
 
{
27
 
 
28
23
class TableList;
29
 
class SecurityContext;
 
24
class Security_context;
30
25
class Session;
31
26
class Select_Lex;
32
27
 
47
42
 * structure before and after INSERT/CREATE and its SELECT to make correct
48
43
 * field name resolution.
49
44
 */
50
 
class Name_resolution_context: public memory::SqlAlloc
 
45
class Name_resolution_context: public Sql_alloc
51
46
{
52
47
public:
53
48
  /**
105
100
   * Security context of this name resolution context. It's used for views
106
101
   * and is non-zero only if the view is defined with SQL SECURITY DEFINER.
107
102
   */
108
 
  SecurityContext *security_ctx;
 
103
  Security_context *security_ctx;
109
104
 
110
105
  Name_resolution_context()
111
106
    :
136
131
  }
137
132
};
138
133
 
139
 
} /* namespace drizzled */
140
 
 
141
134
#endif /* DRIZZLED_NAME_RESOLUTION_CONTEXT_H */