~ubuntu-branches/ubuntu/trusty/drizzle/trusty

« back to all changes in this revision

Viewing changes to drizzled/name_resolution_context_state.h

  • Committer: Package Import Robot
  • Author(s): Clint Byrum
  • Date: 2012-06-19 10:46:49 UTC
  • mfrom: (1.1.6)
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: package-import@ubuntu.com-20120619104649-e2l0ggd4oz3um0f4
Tags: upstream-7.1.36-stable
ImportĀ upstreamĀ versionĀ 7.1.36-stable

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
 
20
20
#pragma once
21
21
 
22
 
namespace drizzled
23
 
{
24
 
 
25
 
class TableList;
26
 
class Name_resolution_context;
 
22
namespace drizzled {
27
23
 
28
24
/*
29
25
  Store and restore the current state of a name resolution context.
39
35
  TableList *save_next_local;
40
36
 
41
37
public:
42
 
 
43
 
  Name_resolution_context_state() {}          /* Remove gcc warning */
44
 
 
45
38
  /* Save the state of a name resolution context. */
46
 
  void save_state(Name_resolution_context *context, TableList *table_list);
 
39
  void save_state(Name_resolution_context*, TableList*);
47
40
 
48
41
  /* Restore a name resolution context from saved state. */
49
 
  void restore_state(Name_resolution_context *context, TableList *table_list);
 
42
  void restore_state(Name_resolution_context*, TableList*) const;
50
43
 
51
44
  TableList *get_first_name_resolution_table();
52
45