~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/select_send.h

Merge Monty

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
 
24
24
#include <drizzled/plugin/client.h>
25
25
 
 
26
namespace drizzled
 
27
{
 
28
 
26
29
class select_send :public select_result {
27
30
  /**
28
31
    True if we have sent result set metadata to the client.
39
42
      InnoDB adaptive hash S-latch to avoid thread deadlocks if it was reserved
40
43
      by session
41
44
    */
42
 
    drizzled::plugin::StorageEngine::releaseTemporaryLatches(session);
 
45
    plugin::StorageEngine::releaseTemporaryLatches(session);
43
46
 
44
47
    /* Unlock tables before sending packet to gain some speed */
45
48
    if (session->lock)
92
95
      InnoDB adaptive hash S-latch to avoid thread deadlocks if it was reserved
93
96
      by session
94
97
    */
95
 
    drizzled::plugin::StorageEngine::releaseTemporaryLatches(session);
 
98
    plugin::StorageEngine::releaseTemporaryLatches(session);
96
99
 
97
100
    List_iterator_fast<Item> li(items);
98
101
    char buff[MAX_FIELD_WIDTH];
114
117
  }
115
118
};
116
119
 
 
120
} /* namespace drizzled */
 
121
 
117
122
#endif /* DRIZZLED_SELECT_SEND_H */