~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/function_engine/function.cc

  • Committer: Brian Aker
  • Date: 2011-02-13 00:42:54 UTC
  • mto: (2170.1.1 alter-table)
  • mto: This revision was merged to the branch mainline in revision 2172.
  • Revision ID: brian@tangent.org-20110213004254-20o2qozeyc8rfyp2
Remove additional spot where we passed in a reference of a shared pointer.

Show diffs side-by-side

added added

removed removed

Lines of Context:
73
73
  schemas.push_back(DATA_DICTIONARY_IDENTIFIER);
74
74
}
75
75
 
76
 
bool Function::doGetSchemaDefinition(const identifier::Schema &schema_identifier, message::schema::shared_ptr &schema_message)
 
76
drizzled::message::schema::shared_ptr Function::doGetSchemaDefinition(const identifier::Schema &schema_identifier)
77
77
{
78
 
  schema_message.reset(new message::Schema); // This should be fixed, we could just be using ones we built on startup.
 
78
  drizzled::message::schema::shared_ptr schema_message;
79
79
 
80
80
  if (schema_identifier == INFORMATION_SCHEMA_IDENTIFIER)
81
81
  {
87
87
  }
88
88
  else
89
89
  {
90
 
    return false;
 
90
    return drizzled::message::schema::shared_ptr();
91
91
  }
92
92
 
93
 
  return true;
 
93
  return schema_message;
94
94
}
95
95
 
96
96
bool Function::doCanCreateTable(const drizzled::identifier::Table &table_identifier)