summaryrefslogtreecommitdiff
path: root/sql/item.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/item.h')
-rw-r--r--sql/item.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/sql/item.h b/sql/item.h
index c67c16c50ad..490317f9bc9 100644
--- a/sql/item.h
+++ b/sql/item.h
@@ -186,8 +186,8 @@ public:
Item_param(char *name_par=0)
{
name= name_par ? name_par : (char*) "?";
- long_data_supplied = false;
- item_type = STRING_ITEM;
+ long_data_supplied= false;
+ item_type= STRING_ITEM;
item_result_type = STRING_RESULT;
}
enum Type type() const { return item_type; }
@@ -199,12 +199,13 @@ public:
void set_null();
void set_int(longlong i);
void set_double(double i);
- void set_value(const char *str, uint length, CHARSET_INFO *cs);
- void set_long_str(const char *str, ulong length, CHARSET_INFO *cs);
- void set_long_binary(const char *str, ulong length, CHARSET_INFO *cs);
- void set_longdata(const char *str, ulong length, CHARSET_INFO *cs);
+ void set_value(const char *str, uint length);
+ void set_long_str(const char *str, ulong length);
+ void set_long_binary(const char *str, ulong length);
+ void set_longdata(const char *str, ulong length);
void set_long_end();
void reset() {}
+ void (*setup_param_func)(Item_param *param, uchar **pos);
enum Item_result result_type () const
{ return item_result_type; }
Item *new_item() { return new Item_param(name); }