1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Added new method to set string's charset

sql/item_cmpfunc.cc:
  Fix for IN, when String->charset is empty
This commit is contained in:
unknown
2002-03-20 20:52:23 +04:00
parent bbde41e9f7
commit 9f09ae660b
2 changed files with 4 additions and 0 deletions

View File

@ -74,6 +74,7 @@ public:
{ sql_element_free(ptr_arg); }
~String() { free(); }
inline void set_charset(CHARSET_INFO *charset) { str_charset=charset; }
inline CHARSET_INFO *charset() const { return str_charset; }
inline uint32 length() const { return str_length;}
inline uint32 alloced_length() const { return Alloced_length;}