~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/catalog/engine.cc

  • Committer: Mark Atwood
  • Date: 2011-06-25 15:38:53 UTC
  • mfrom: (2318.6.78 refactor16)
  • Revision ID: me@mark.atwood.name-20110625153853-za5fjiwd3z0aykdd
mergeĀ lp:~olafvdspek/drizzle/refactor16

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
#include <sys/stat.h>
25
25
#include <sys/types.h>
26
26
 
 
27
#include <boost/foreach.hpp>
27
28
#include <drizzled/display.h>
28
29
#include <google/protobuf/io/zero_copy_stream.h>
29
30
#include <google/protobuf/io/zero_copy_stream_impl.h>
116
117
  drizzled::CachedDirectory::Entries files= directory.getEntries();
117
118
 
118
119
 
119
 
  for (drizzled::CachedDirectory::Entries::iterator fileIter= files.begin();
120
 
       fileIter != files.end(); fileIter++)
 
120
  BOOST_FOREACH(drizzled::CachedDirectory::Entries::reference entry, files)
121
121
  {
122
 
    drizzled::CachedDirectory::Entry *entry= *fileIter;
123
122
    drizzled::message::catalog::shared_ptr message;
124
123
 
125
124
    if (not entry->filename.compare(GLOBAL_TEMPORARY_EXT))