summaryrefslogtreecommitdiff
path: root/sql/protocol.h
diff options
context:
space:
mode:
authorvva@eagle.mysql.r18.ru <>2003-05-29 17:47:31 -0400
committervva@eagle.mysql.r18.ru <>2003-05-29 17:47:31 -0400
commitb4014b903b115f4181fba03911c5a77fd87d1cba (patch)
treea9f85257a75430a22735e52666cbf25e605ea2bb /sql/protocol.h
parent0b1dda402308ea51baf6f2f6e03599cd56cdca55 (diff)
downloadmariadb-git-b4014b903b115f4181fba03911c5a77fd87d1cba.tar.gz
new version of help
Diffstat (limited to 'sql/protocol.h')
-rw-r--r--sql/protocol.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/protocol.h b/sql/protocol.h
index 2110f1877c2..ffd61b3e848 100644
--- a/sql/protocol.h
+++ b/sql/protocol.h
@@ -60,6 +60,8 @@ public:
{ return store_longlong((longlong) from, 0); }
inline bool store(ulonglong from)
{ return store_longlong((longlong) from, 1); }
+ inline bool store(String *str)
+ { return store(str->c_ptr(),str->length(),str->charset()); }
virtual bool prepare_for_send(List<Item> *item_list)
{