~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/schema_engine/schema.cc

  • Committer: Brian Aker
  • Date: 2010-05-27 01:25:56 UTC
  • mfrom: (1567.1.4 new-staging)
  • Revision ID: brian@gaz-20100527012556-5zgkirkl7swbigd6
Merge of Brian, Paul. PBXT compile issue, and test framework cleanup. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
282
282
 
283
283
  if (not db.SerializeToFileDescriptor(fd))
284
284
  {
285
 
    my_error(ER_CORRUPT_TABLE_DEFINITION, MYF(0),
286
 
             db.InitializationErrorString().c_str());
 
285
    my_error(ER_CORRUPT_SCHEMA_DEFINITION, MYF(0), schema_file.c_str(),
 
286
             db.InitializationErrorString().empty() ? "unknown" :  db.InitializationErrorString().c_str());
287
287
 
288
288
    if (close(fd) == -1)
289
289
      perror(schema_file_tmp);
341
341
      return true;
342
342
    }
343
343
 
344
 
    my_error(ER_CORRUPT_TABLE_DEFINITION, MYF(0),
345
 
             schema_message.InitializationErrorString().c_str());
 
344
    my_error(ER_CORRUPT_SCHEMA_DEFINITION, MYF(0), db_opt_path.c_str(),
 
345
             schema_message.InitializationErrorString().empty() ? "unknown" :  schema_message.InitializationErrorString().c_str());
346
346
  }
347
347
  else
348
348
  {