~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/cached_directory.cc

  • Committer: Lee Bieber
  • Date: 2011-02-11 20:30:05 UTC
  • mfrom: (2157.1.3 build)
  • Revision ID: kalebral@gmail.com-20110211203005-757o1y2yf78dxzqr
Merge Stewart - 716848: drizzleimport displays wrong program_name
Merge Stewart - update README file
Merge Andrew and Joe - Exposes the InnoDB SYS_REPLICATION_LOG to data_dictionary so that it is fast and fixes many issues we have been having

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
 *   Implementation of CachedDirectory class.
26
26
 */
27
27
 
28
 
#include <config.h>
 
28
#include "config.h"
29
29
 
30
 
#include <drizzled/definitions.h>
 
30
#include "drizzled/definitions.h"
31
31
 
32
32
#include <sys/types.h>
33
33
#include <sys/stat.h>
36
36
#include <strings.h>
37
37
#include <limits.h>
38
38
 
39
 
#include <drizzled/cached_directory.h>
 
39
#include "drizzled/cached_directory.h"
40
40
 
41
41
using namespace std;
42
42
 
78
78
 
79
79
CachedDirectory::~CachedDirectory()
80
80
{
81
 
  for (Entries::iterator iter= entries.begin(); iter != entries.end(); ++iter)
 
81
  for (Entries::iterator p= entries.begin(); p != entries.end(); ++p)
82
82
  {
83
 
    delete *iter;
 
83
    if (*p)
 
84
      delete *p;
84
85
  }
85
86
  entries.clear();
86
87
}