~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/table_proto_write.cc

  • Committer: Brian Aker
  • Date: 2011-01-12 22:54:12 UTC
  • mto: This revision was merged to the branch mainline in revision 2079.
  • Revision ID: brian@tangent.org-20110112225412-u76lu18yz6furi4s
Fix interface for create table such that it issues error and returns state
like the rest of the API.

Show diffs side-by-side

added added

removed removed

Lines of Context:
604
604
 
605
605
  assert(table_proto.name() == identifier.getTableName());
606
606
 
607
 
  if (plugin::StorageEngine::createTable(*session,
608
 
                                         identifier,
609
 
                                         table_proto))
 
607
  if (not plugin::StorageEngine::createTable(*session,
 
608
                                             identifier,
 
609
                                             table_proto))
610
610
  {
611
611
    return false;
612
612
  }