~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/schema_engine/schema.cc

Merged in old drizzled-as-lib patch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
69
69
 
70
70
void Schema::prime()
71
71
{
72
 
  CachedDirectory directory(drizzle_data_home, CachedDirectory::DIRECTORY);
 
72
  CachedDirectory directory(data_home, CachedDirectory::DIRECTORY);
73
73
  CachedDirectory::Entries files= directory.getEntries();
74
74
 
75
75
  pthread_rwlock_wrlock(&schema_lock);
113
113
 
114
114
  // If for some reason getting a lock should fail, we resort to disk
115
115
 
116
 
  CachedDirectory directory(drizzle_data_home, CachedDirectory::DIRECTORY);
 
116
  CachedDirectory directory(data_home, CachedDirectory::DIRECTORY);
117
117
 
118
118
  CachedDirectory::Entries files= directory.getEntries();
119
119