diff options
Diffstat (limited to 'sql/protocol.h')
-rw-r--r-- | sql/protocol.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/protocol.h b/sql/protocol.h index ffd61b3e848..05aee12d3d9 100644 --- a/sql/protocol.h +++ b/sql/protocol.h @@ -61,7 +61,7 @@ public: 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()); } + { return store((char*) str->ptr(), str->length(), str->charset()); } virtual bool prepare_for_send(List<Item> *item_list) { |