~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/field/num.cc

  • Committer: Brian Aker
  • Date: 2011-03-28 02:46:21 UTC
  • Revision ID: brian@tangent.org-20110328024621-wtkdtlvdplqm0ybf
Shift CHARSET_INFO to charset_info_st

Show diffs side-by-side

added added

removed removed

Lines of Context:
76
76
    2   error: garbage at the end of string.
77
77
*/
78
78
 
79
 
int Field_num::check_int(const CHARSET_INFO * const cs, const char *str, int length,
 
79
int Field_num::check_int(const charset_info_st * const cs, const char *str, int length,
80
80
                         const char *int_end, int error)
81
81
{
82
82
  /* Test if we get an empty string or wrong integer */
124
124
    1   error
125
125
*/
126
126
 
127
 
bool Field_num::get_int(const CHARSET_INFO * const cs, const char *from, uint32_t len,
 
127
bool Field_num::get_int(const charset_info_st * const cs, const char *from, uint32_t len,
128
128
                        int64_t *rnd, uint64_t ,
129
129
                        int64_t signed_min, int64_t signed_max)
130
130
{