diff options
author | unknown <bar@bar.mysql.r18.ru> | 2003-03-21 15:18:52 +0400 |
---|---|---|
committer | unknown <bar@bar.mysql.r18.ru> | 2003-03-21 15:18:52 +0400 |
commit | c51c782c55a5f4328d2ad08823f84adc28abad81 (patch) | |
tree | 5280bb31238ad54a66021579da84445dab7fbe68 /sql/protocol.h | |
parent | c2df88fa2284bc70f135bb20e509ff1bc3cfdecf (diff) | |
download | mariadb-git-c51c782c55a5f4328d2ad08823f84adc28abad81.tar.gz |
New variable to turn off automatic charset conversion of query results
Some speed improvements
Diffstat (limited to 'sql/protocol.h')
-rw-r--r-- | sql/protocol.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/protocol.h b/sql/protocol.h index 71ad5c1302b..418814a9623 100644 --- a/sql/protocol.h +++ b/sql/protocol.h @@ -30,6 +30,7 @@ class Protocol protected: THD *thd; String *packet; + String convert; uint field_pos; #ifndef DEBUG_OFF enum enum_field_types *field_types; @@ -44,6 +45,7 @@ protected: public: Protocol() {} Protocol(THD *thd) { init(thd); } + virtual ~Protocol() {} void init(THD* thd); bool send_fields(List<Item> *list, uint flag); bool send_records_num(List<Item> *list, ulonglong records); |