summaryrefslogtreecommitdiff
path: root/sql/item.h
diff options
context:
space:
mode:
authordlenev@brandersnatch.localdomain <>2004-05-04 19:08:19 +0400
committerdlenev@brandersnatch.localdomain <>2004-05-04 19:08:19 +0400
commitc7fbcbca7a6821fb87691f9c37153791902b0643 (patch)
tree25f19644d618bbfab8cdc286c8fabf3061186256 /sql/item.h
parent9550dd6faeae9190747db249f7b6347fed701fed (diff)
downloadmariadb-git-c7fbcbca7a6821fb87691f9c37153791902b0643.tar.gz
Fix for remaining issues described in Bug #1664
"mysql_send_long_data() API call is completely broken". Now we are resetting some members (long_data_supplied/null_value...) of Item_param to its initial state after each execution of prepared statement. We also manipulating Item_param::maybe_null/null_value only via Item_param::set_* setters which makes code a bit more robust.
Diffstat (limited to 'sql/item.h')
-rw-r--r--sql/item.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item.h b/sql/item.h
index 0f2927b0d99..b756d824de0 100644
--- a/sql/item.h
+++ b/sql/item.h
@@ -419,7 +419,7 @@ public:
void set_long_end();
void set_time(TIME *tm, timestamp_type type);
bool get_time(TIME *tm);
- void reset() {}
+ void reset();
/*
Assign placeholder value from bind data.
Note, that 'len' has different semantics in embedded library (as we