~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/function/str/load_file.cc

Merge Monty

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 *  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
18
18
 */
19
19
 
20
 
#include <drizzled/server_includes.h>
21
 
#include CSTDINT_H
 
20
#include "config.h"
22
21
#include <drizzled/function/str/strfunc.h>
23
22
#include <drizzled/function/str/load_file.h>
24
23
#include <drizzled/error.h>
25
24
#include <drizzled/data_home.h>
26
25
#include <drizzled/session.h>
27
26
 
 
27
#include <fcntl.h>
 
28
#include <sys/stat.h>
 
29
 
28
30
String *Item_load_file::val_str(String *str)
29
31
{
30
32
  assert(fixed == 1);
31
33
  String *file_name;
32
 
  File file;
 
34
  int file;
33
35
  struct stat stat_info;
34
36
  char path[FN_REFLEN];
35
37