mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
Fixed compiler warnings in sql/field.h.
This commit is contained in:
parent
6a054ce26e
commit
ccad8307ba
1 changed files with 3 additions and 0 deletions
|
@ -352,6 +352,7 @@ public:
|
|||
Item_result result_type () const { return STRING_RESULT; }
|
||||
uint decimals() const { return NOT_FIXED_DEC; }
|
||||
int store(double nr);
|
||||
int store(longlong nr)=0;
|
||||
int store(const char *to,uint length,CHARSET_INFO *cs)=0;
|
||||
void make_field(Send_field *);
|
||||
uint size_of() const { return sizeof(*this); }
|
||||
|
@ -908,6 +909,7 @@ public:
|
|||
void reset(void) { charset()->cset->fill(charset(),ptr,field_length,' '); }
|
||||
int store(const char *to,uint length,CHARSET_INFO *charset);
|
||||
int store(longlong nr);
|
||||
int store(double nr) { return Field_str::store(nr); }
|
||||
double val_real(void);
|
||||
longlong val_int(void);
|
||||
String *val_str(String*,String *);
|
||||
|
@ -953,6 +955,7 @@ public:
|
|||
uint32 key_length() const { return (uint32) field_length; }
|
||||
int store(const char *to,uint length,CHARSET_INFO *charset);
|
||||
int store(longlong nr);
|
||||
int store(double nr) { return Field_str::store(nr); }
|
||||
double val_real(void);
|
||||
longlong val_int(void);
|
||||
String *val_str(String*,String *);
|
||||
|
|
Loading…
Reference in a new issue