~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/blackhole/ha_blackhole.cc

  • Committer: Monty Taylor
  • Date: 2009-12-21 03:44:51 UTC
  • mto: (1253.2.3 out-of-tree)
  • mto: This revision was merged to the branch mainline in revision 1250.
  • Revision ID: mordred@inaugust.com-20091221034451-hmztoep4qbaqne8w
Trims more out of server_includes.h.

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
#include <map>
27
27
#include <fstream>
28
28
#include <drizzled/message/table.pb.h>
 
29
#include "mystrings/m_string.h"
29
30
#include <google/protobuf/io/zero_copy_stream.h>
30
31
#include <google/protobuf/io/zero_copy_stream_impl.h>
31
32
 
99
100
      const char *ext= strchr(filename->c_str(), '.');
100
101
 
101
102
      if (ext == NULL || my_strcasecmp(system_charset_info, ext, BLACKHOLE_EXT) ||
102
 
          is_prefix(filename->c_str(), TMP_FILE_PREFIX))
 
103
         (filename->compare(0, strlen(TMP_FILE_PREFIX), TMP_FILE_PREFIX) == 0))
103
104
      {  }
104
105
      else
105
106
      {