~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/generator/table.h

  • Committer: Brian Aker
  • Date: 2010-11-19 00:00:46 UTC
  • mto: (1945.2.1 quick)
  • mto: This revision was merged to the branch mainline in revision 1944.
  • Revision ID: brian@tangent.org-20101119000046-iajnd847tmo595ts
Fix style issue around table for message (though this is imperfect,...)

Show diffs side-by-side

added added

removed removed

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