Merge branch 'develop' into MAX-324

This commit is contained in:
Markus Makela
2015-03-05 10:45:48 +02:00
57 changed files with 4699 additions and 113 deletions

View File

@ -623,9 +623,14 @@ static int gw_write_backend_event(DCB *dcb) {
if (dcb->writeq != NULL)
{
data = (uint8_t *)GWBUF_DATA(dcb->writeq);
if (!(MYSQL_IS_COM_QUIT(data)))
if(dcb->session->client == NULL)
{
rc = 0;
}
else if (!(MYSQL_IS_COM_QUIT(data)))
{
/*< vraa : errorHandle */
mysql_send_custom_error(
dcb->session->client,