~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/generator/table.h

  • Committer: Brian Aker
  • Date: 2011-01-13 05:06:32 UTC
  • mto: (2079.1.1 drizzle)
  • mto: This revision was merged to the branch mainline in revision 2080.
  • Revision ID: brian@tangent.org-20110113050632-92b0129n2urv5v0w
Fix for test on drop (error message change).

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
  Session &session;
33
33
  message::table::shared_ptr table;
34
34
 
35
 
  identifier::Table::vector table_names;
36
 
  identifier::Table::vector::const_iterator table_iterator;
 
35
  TableIdentifier::vector table_names;
 
36
  TableIdentifier::vector::const_iterator table_iterator;
37
37
 
38
38
public:
39
39
 
40
 
  Table(Session &arg, const identifier::Schema &schema_identifier);
 
40
  Table(Session &arg, const SchemaIdentifier &schema_identifier);
41
41
 
42
42
  operator const drizzled::message::table::shared_ptr()
43
43
  {
54
54
    return message::table::shared_ptr();
55
55
  }
56
56
 
57
 
  operator const drizzled::identifier::Table*()
 
57
  operator const drizzled::TableIdentifier*()
58
58
  {
59
59
    while (table_iterator != table_names.end())
60
60
    {
61
 
      const drizzled::identifier::Table *_ptr= &(*table_iterator);
 
61
      const drizzled::TableIdentifier *_ptr= &(*table_iterator);
62
62
      table_iterator++;
63
63
 
64
64
      return _ptr;