~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/mf_format.cc

  • Committer: Padraig O'Sullivan
  • Date: 2009-08-08 04:22:33 UTC
  • mto: (1115.3.4 captain)
  • mto: This revision was merged to the branch mainline in revision 1117.
  • Revision ID: osullivan.padraig@gmail.com-20090808042233-q0z88zc490z3f3r7
Renamed the Command class to be Statement. Renamed the command directory to
statement and also the command header file to statement. Updated various
source files to reflect this renaming.

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
   along with this program; if not, write to the Free Software
14
14
   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */
15
15
 
16
 
#include "config.h"
17
 
 
18
 
#include "drizzled/internal/my_sys.h"
19
 
 
20
 
#include <fcntl.h>
21
 
 
22
 
#ifdef HAVE_SYS_STAT_H
23
 
# include <sys/stat.h>
24
 
#endif
 
16
#include "mysys/mysys_priv.h"
 
17
#include <mystrings/m_string.h>
25
18
 
26
19
#include <algorithm>
27
20
 
28
 
#include "drizzled/internal/m_string.h"
29
 
 
30
21
using namespace std;
31
22
 
32
 
namespace drizzled
33
 
{
34
 
namespace internal
35
 
{
36
 
 
37
23
/*
38
24
  Formats a filename with possible replace of directory of extension
39
25
  Function can handle the case where 'to' == 'name'
165
151
  }
166
152
  return((size_t) (found - str));
167
153
} /* strlength */
168
 
 
169
 
} /* namespace internal */
170
 
} /* namespace drizzled */