summaryrefslogtreecommitdiff
path: root/sql/field.h
diff options
context:
space:
mode:
authorunknown <monty@mysql.com>2004-04-12 01:42:39 +0300
committerunknown <monty@mysql.com>2004-04-12 01:42:39 +0300
commit70454de25abef86ea01eeac0eb164e79d8b3d26e (patch)
treecb596107cb8830ff597662da66bde8e228b13513 /sql/field.h
parent1bbca272a99e53efa707a137349dab4bc72e4533 (diff)
downloadmariadb-git-70454de25abef86ea01eeac0eb164e79d8b3d26e.tar.gz
Added function comment
sql/item.cc: Smple optimization
Diffstat (limited to 'sql/field.h')
-rw-r--r--sql/field.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/field.h b/sql/field.h
index 4efabcead18..002a7228164 100644
--- a/sql/field.h
+++ b/sql/field.h
@@ -92,6 +92,7 @@ public:
utype unireg_check_arg, const char *field_name_arg,
struct st_table *table_arg);
virtual ~Field() {}
+ /* Store functions returns 1 on overflow and -1 on fatal error */
virtual int store(const char *to,uint length,CHARSET_INFO *cs)=0;
virtual int store(double nr)=0;
virtual int store(longlong nr)=0;