~maria-captains/maria/5.5-explain-analyze

« back to all changes in this revision

Viewing changes to sql/protocol.h

  • Committer: Sergey Petrunya
  • Date: 2012-09-03 15:11:24 UTC
  • Revision ID: psergey@askmonty.org-20120903151124-s1y9vrz3k4ezy642
MDEV-406: EXPLAIN ANALYZE 
- First code, it is possible to get the data for joins/unions
- Numbers for join buffering are likely to be incorrect
- Same for subqueries (what should 'loops' show?)

Show diffs side-by-side

added added

removed removed

Lines of Context:
78
78
  virtual bool send_result_set_metadata(List<Item> *list, uint flags);
79
79
  bool send_result_set_row(List<Item> *row_items);
80
80
 
 
81
  void get_packet(const char **start, size_t *length) 
 
82
  {
 
83
    *start= packet->ptr();
 
84
    *length= packet->length(); 
 
85
  }
 
86
  void set_packet(const char *start, size_t len)
 
87
  {
 
88
    packet->length(0);
 
89
    packet->append(start, len);
 
90
#ifndef DBUG_OFF
 
91
  field_pos= field_count - 1;
 
92
#endif
 
93
  }
 
94
 
81
95
  bool store(I_List<i_string> *str_list);
82
96
  bool store(const char *from, CHARSET_INFO *cs);
83
97
  String *storage_packet() { return packet; }