diff options
author | unknown <Sinisa@sinisa.nasamreza.org> | 2002-07-20 14:51:52 +0300 |
---|---|---|
committer | unknown <Sinisa@sinisa.nasamreza.org> | 2002-07-20 14:51:52 +0300 |
commit | 907c668729b279c480f028d795b55b761b3aff33 (patch) | |
tree | 59a3e303f4dceb2b56763aee0bf50408cb5c153e /sql/procedure.h | |
parent | 4ce602e619d92c697e4a43f38f582c7fe1a9ad2f (diff) | |
download | mariadb-git-907c668729b279c480f028d795b55b761b3aff33.tar.gz |
OLAP functionality plus some small bug fixes
Diffstat (limited to 'sql/procedure.h')
-rw-r--r-- | sql/procedure.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/procedure.h b/sql/procedure.h index db0e0b7f9e2..d2600a62e62 100644 --- a/sql/procedure.h +++ b/sql/procedure.h @@ -43,6 +43,7 @@ public: { init_make_field(tmp_field,field_type()); } + virtual unsigned int size_of () { return sizeof(*this);} }; class Item_proc_real :public Item_proc @@ -62,6 +63,7 @@ public: double val() { return value; } longlong val_int() { return (longlong) value; } String *val_str(String *s) { s->set(value,decimals); return s; } + virtual unsigned int size_of () { return sizeof(*this);} }; class Item_proc_int :public Item_proc @@ -79,6 +81,7 @@ public: double val() { return (double) value; } longlong val_int() { return value; } String *val_str(String *s) { s->set(value); return s; } + virtual unsigned int size_of () { return sizeof(*this);} }; @@ -98,6 +101,7 @@ public: { return null_value ? (String*) 0 : (String*) &str_value; } + virtual unsigned int size_of () { return sizeof(*this);} }; /* The procedure class definitions */ |