first bug fix for issue #111

pull/190/head
René Cannaò 11 years ago
parent 2ce3ef03f8
commit fb2e8735e4

@ -396,8 +396,8 @@ int MySQL_Data_Stream::array2buffer() {
int ret=0;
unsigned int idx=0;
bool cont=true;
if (queue_available(queueOUT)==0) return ret;
while (cont) {
if (queue_available(queueOUT)==0) return ret;
if (queueOUT.partial==0) { // read a new packet
if (PSarrayOUT->len-idx) {
proxy_debug(PROXY_DEBUG_PKT_ARRAY, 5, "DataStream: %p -- Removing a packet from array\n", this);

Loading…
Cancel
Save