~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/show_schema_proto/show_schema_proto.cc

  • Committer: Brian Aker
  • Date: 2010-02-25 07:54:52 UTC
  • mfrom: (1273.13.101 build)
  • Revision ID: brian@gaz-20100225075452-19eozreshbrerypu
Merge of all patches in build.

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;