~posulliv/drizzle/optimizer-style-cleanup

« back to all changes in this revision

Viewing changes to plugin/show_schema_proto/show_schema_proto.cc

  • Committer: Padraig O'Sullivan
  • Date: 2010-03-15 14:05:26 UTC
  • mfrom: (1237.9.99 staging)
  • Revision ID: osullivan.padraig@gmail.com-20100315140526-opbgwdwn6tfecdkq
MergeĀ fromĀ trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
81
81
  string proto_as_text("");
82
82
  message::Schema proto;
83
83
 
84
 
  int err= get_database_metadata(db, proto);
85
84
 
86
 
  if (err != 0)
 
85
  if (not plugin::StorageEngine::getSchemaDefinition(db, proto))
87
86
  {
88
87
    my_error(ER_BAD_DB_ERROR, MYF(0), db);
89
88
    return NULL;
130
129
  PLUGIN_LICENSE_GPL,
131
130
  initialize, /* Plugin Init */
132
131
  finalize,   /* Plugin Deinit */
133
 
  NULL,   /* status variables */
134
132
  NULL,   /* system variables */
135
133
  NULL    /* config options */
136
134
}