summaryrefslogtreecommitdiff
path: root/sql/protocol.h
diff options
context:
space:
mode:
authorunknown <bar@bar.mysql.r18.ru>2003-03-21 15:18:52 +0400
committerunknown <bar@bar.mysql.r18.ru>2003-03-21 15:18:52 +0400
commit0148b062c7ef33f6fa155b838ba1b25c37004841 (patch)
tree5280bb31238ad54a66021579da84445dab7fbe68 /sql/protocol.h
parent74f46acedfbc5c122024adc70cb0c02f6b8e2b9f (diff)
downloadmariadb-git-0148b062c7ef33f6fa155b838ba1b25c37004841.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.h2
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);