~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/generator/table.h

  • Committer: David Shrewsbury
  • Date: 2010-11-19 15:23:07 UTC
  • mto: (1942.1.3 b)
  • mto: This revision was merged to the branch mainline in revision 1943.
  • Revision ID: shrewsbury.dave@gmail.com-20101119152307-srnssq2n5num5tit
Add --replicate-query option.

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
class Table
31
31
{
32
32
  Session &session;
33
 
  message::table::shared_ptr table;
 
33
  message::TablePtr table;
34
34
 
35
 
  TableIdentifier::vector table_names;
36
 
  TableIdentifier::vector::const_iterator table_iterator;
 
35
  TableIdentifiers table_names;
 
36
  TableIdentifiers::const_iterator table_iterator;
37
37
 
38
38
public:
39
39
 
40
40
  Table(Session &arg, const SchemaIdentifier &schema_identifier);
41
41
 
42
 
  operator const drizzled::message::table::shared_ptr()
 
42
  operator const drizzled::message::TablePtr()
43
43
  {
44
44
    while (table_iterator != table_names.end())
45
45
    {
51
51
        return table;
52
52
    }
53
53
 
54
 
    return message::table::shared_ptr();
 
54
    return message::TablePtr();
55
55
  }
56
56
 
57
57
  operator const drizzled::TableIdentifier*()