Bug 462, http://bugs.skysql.com/show_bug.cgi?id=462, testall target fails in server/test to invalid MAXSCALE_HOME path specification.

Fixed path specification in server/test/makefile.

Added comments to mysql_backend.c
This commit is contained in:
VilhoRaatikka 2014-07-29 12:11:00 +03:00
parent fa1f9ec131
commit d83a4673d7
2 changed files with 5 additions and 2 deletions

View File

@ -502,7 +502,10 @@ static int gw_read_backend_event(DCB *dcb) {
goto return_rc;
}
}
/** If protocol has command set it is session command */
/**
* If protocol has session command set, concatenate whole
* response into one buffer.
*/
if (protocol_get_srv_command((MySQLProtocol *)dcb->protocol, false) !=
MYSQL_COM_UNDEFINED)
{

View File

@ -10,7 +10,7 @@ include ../../test.inc
TEST_ROOT := $(ROOT_PATH)/test
PARENT_DIR := $(ROOT_PATH)/server
CUR_DIR := $(PARENT_DIR)/test
export MAXSCALE_HOME=$(CUR_DIR)/MaxScale
export MAXSCALE_HOME=$(CUR_DIR)
CC=cc
TESTLOG := $(CUR_DIR)/testserver.log