~thomir-deactivatedaccount/drizzle/drizzle-fix-bug653747

« back to all changes in this revision

Viewing changes to plugin/show_schema_proto/show_schema_proto.cc

  • Committer: Brian Aker
  • Date: 2010-10-10 02:07:52 UTC
  • mfrom: (1827.2.3 staging)
  • Revision ID: brian@tangent.org-20101010020752-ktv73isay5dxtvp3
Merge in switch on table_share_instance inheritance.

Show diffs side-by-side

added added

removed removed

Lines of Context:
79
79
  const char* db= db_sptr->c_ptr_safe();
80
80
 
81
81
  string proto_as_text("");
82
 
  message::SchemaPtr proto;
 
82
  message::Schema proto;
83
83
 
84
84
 
85
85
  SchemaIdentifier schema_identifier(db);
89
89
    return NULL;
90
90
  }
91
91
 
92
 
  protobuf::TextFormat::PrintToString(*proto, &proto_as_text);
 
92
  protobuf::TextFormat::PrintToString(proto, &proto_as_text);
93
93
 
94
94
  if (str->alloc(proto_as_text.length()))
95
95
  {