summaryrefslogtreecommitdiff
path: root/sql/field.h
diff options
context:
space:
mode:
authorunknown <pem@mysql.comhem.se>2004-08-20 13:11:14 +0200
committerunknown <pem@mysql.comhem.se>2004-08-20 13:11:14 +0200
commit20dab90aadf3174b92ecb270690a4dde6142e55c (patch)
tree1377cc66660bde26f2b99c6fefa59d8a753610f7 /sql/field.h
parentba72b450bd8f8dd5fde94b6e70232d59760ba1df (diff)
downloadmariadb-git-20dab90aadf3174b92ecb270690a4dde6142e55c.tar.gz
Fixed compiler warnings in sql/field.h.
sql/field.h: Fixed compiler warnings.
Diffstat (limited to 'sql/field.h')
-rw-r--r--sql/field.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/field.h b/sql/field.h
index 83c5a71f07f..843961e64c3 100644
--- a/sql/field.h
+++ b/sql/field.h
@@ -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 *);