summaryrefslogtreecommitdiff
path: root/sql/item.h
diff options
context:
space:
mode:
authorkonstantin@mysql.com <>2004-10-22 20:21:55 +0400
committerkonstantin@mysql.com <>2004-10-22 20:21:55 +0400
commit016d5adeeb77eec5d52bfaf57641b0d6c2bea2fa (patch)
treec948d54877b78b0e413be75c01fccd4eb2245aaf /sql/item.h
parentaf7ecf4c785af1533eac814952c04ccf3d7f2968 (diff)
downloadmariadb-git-016d5adeeb77eec5d52bfaf57641b0d6c2bea2fa.tar.gz
Followup to fix for bug#6050: fix valgrind warnings.
Diffstat (limited to 'sql/item.h')
-rw-r--r--sql/item.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sql/item.h b/sql/item.h
index b3142ec4b06..116dc86390c 100644
--- a/sql/item.h
+++ b/sql/item.h
@@ -348,6 +348,7 @@ public:
class Item_field :public Item_ident
{
+ void set_field(Field *field);
public:
Field *field,*result_field;
@@ -369,7 +370,7 @@ public:
/*
If this constructor is used, fix_fields() won't work, because
db_name, table_name and column_name are unknown. It's necessary to call
- set_field() before fix_fields() for all fields created this way.
+ reset_field() before fix_fields() for all fields created this way.
*/
Item_field(Field *field);
enum Type type() const { return FIELD_ITEM; }
@@ -381,7 +382,7 @@ public:
longlong val_int_result();
String *str_result(String* tmp);
bool send(Protocol *protocol, String *str_arg);
- void set_field(Field *field);
+ void reset_field(Field *f);
bool fix_fields(THD *, struct st_table_list *, Item **);
void make_field(Send_field *tmp_field);
int save_in_field(Field *field,bool no_conversions);