Skip to content

Commit

Permalink
Error in fast_forward causes a crash #733
Browse files Browse the repository at this point in the history
  • Loading branch information
renecannao committed Mar 8, 2017
1 parent 751270c commit 86a2144
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/MySQL_Protocol.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -568,6 +568,10 @@ bool MySQL_Protocol::generate_pkt_ERR(bool send, void **ptr, unsigned int *len,
break;
case STATE_OK:
break;
case STATE_SLEEP:
if ((*myds)->sess->session_fast_forward==true) { // see issue #733
break;
}
default:
assert(0);
}
Expand Down

0 comments on commit 86a2144

Please sign in to comment.