summaryrefslogtreecommitdiff
path: root/sql/protocol.h
diff options
context:
space:
mode:
authorSergey Petrunya <psergey@askmonty.org>2012-07-10 21:23:00 +0400
committerSergey Petrunya <psergey@askmonty.org>2012-07-10 21:23:00 +0400
commit725d76e1e844b587eeeab23fb0caa670735e47b6 (patch)
treef7340259144195962f9a718e1d1c983566ece65d /sql/protocol.h
parenta931467e17c4826ce4fa473de0479953d9bbcc59 (diff)
downloadmariadb-git-725d76e1e844b587eeeab23fb0caa670735e47b6.tar.gz
MWL#182: Explain running statements: address review feedback
- switch SHOW EXPLAIN to using an INFORMATION_SCHEMA table.
Diffstat (limited to 'sql/protocol.h')
-rw-r--r--sql/protocol.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/sql/protocol.h b/sql/protocol.h
index 3627e625c07..1c0a28560bd 100644
--- a/sql/protocol.h
+++ b/sql/protocol.h
@@ -78,20 +78,6 @@ public:
virtual bool send_result_set_metadata(List<Item> *list, uint flags);
bool send_result_set_row(List<Item> *row_items);
- void get_packet(const char **start, size_t *length)
- {
- *start= packet->ptr();
- *length= packet->length();
- }
- void set_packet(const char *start, size_t len)
- {
- packet->length(0);
- packet->append(start, len);
-#ifndef DBUG_OFF
- field_pos= field_count - 1;
-#endif
- }
-
bool store(I_List<i_string> *str_list);
bool store(const char *from, CHARSET_INFO *cs);
String *storage_packet() { return packet; }