~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/schema_engine/schema.cc

  • Committer: Brian Aker
  • Date: 2010-03-04 08:33:14 UTC
  • mfrom: (1320.1.12 build)
  • Revision ID: brian@gaz-20100304083314-pscg89hdw618s2j5
Merge.

Show diffs side-by-side

added added

removed removed

Lines of Context:
59
59
  table_definition_ext= DEFAULT_FILE_EXTENSION;
60
60
  pthread_rwlock_init(&schema_lock, NULL);
61
61
  prime();
 
62
#if 0
 
63
  message::Schema schema_message;
 
64
 
 
65
  schema_message.set_name("temporary_tables");
 
66
 
 
67
  doCreateSchema(schema_message);
 
68
#endif
62
69
}
63
70
 
64
71
Schema::~Schema()
408
415
 
409
416
  return false;
410
417
}
 
418
 
 
419
bool Schema::doCanCreateTable(const drizzled::TableIdentifier &identifier)
 
420
{
 
421
  if (not strcasecmp(identifier.getSchemaName(), "temporary_tables"))
 
422
  {
 
423
    return false;
 
424
  }
 
425
 
 
426
  return true;
 
427
}
 
428
 
 
429