~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/int.cc

Merge Monty

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
#include <drizzled/item/int.h>
22
22
#include "drizzled/internal/m_string.h"
23
23
 
 
24
namespace drizzled
 
25
{
 
26
 
24
27
/**
25
28
  Create an item from a string we KNOW points to a valid int64_t
26
29
  end \\0 terminated number string.
31
34
{
32
35
  char *end_ptr= (char*) str_arg + length;
33
36
  int error;
34
 
  value= my_strtoll10(str_arg, &end_ptr, &error);
 
37
  value= internal::my_strtoll10(str_arg, &end_ptr, &error);
35
38
  max_length= (uint32_t) (end_ptr - str_arg);
36
39
  name= (char*) str_arg;
37
40
  fixed= 1;
83
86
}
84
87
 
85
88
 
86
 
 
 
89
} /* namespace drizzled */