~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/catalog/engine.cc

  • Committer: Olaf van der Spek
  • Date: 2011-06-23 14:03:48 UTC
  • mto: This revision was merged to the branch mainline in revision 2349.
  • Revision ID: olafvdspek@gmail.com-20110623140348-rnees8v44f213rvv
Refactor

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))