~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/name_resolution_context.h

  • Committer: Monty Taylor
  • Date: 2009-12-25 08:50:15 UTC
  • mto: This revision was merged to the branch mainline in revision 1255.
  • Revision ID: mordred@inaugust.com-20091225085015-83sux5qsvy312gew
MEM_ROOT == memory::Root

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