~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysys/mf_format.cc

Re-org'd the replication stuff into slots.

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
 
12
12
   You should have received a copy of the GNU General Public License
13
13
   along with this program; if not, write to the Free Software
14
 
   Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA */
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
 
14
   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */
 
15
 
 
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 */