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:
@ -502,7 +502,10 @@ static int gw_read_backend_event(DCB *dcb) {
|
|||||||
goto return_rc;
|
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) !=
|
if (protocol_get_srv_command((MySQLProtocol *)dcb->protocol, false) !=
|
||||||
MYSQL_COM_UNDEFINED)
|
MYSQL_COM_UNDEFINED)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -10,7 +10,7 @@ include ../../test.inc
|
|||||||
TEST_ROOT := $(ROOT_PATH)/test
|
TEST_ROOT := $(ROOT_PATH)/test
|
||||||
PARENT_DIR := $(ROOT_PATH)/server
|
PARENT_DIR := $(ROOT_PATH)/server
|
||||||
CUR_DIR := $(PARENT_DIR)/test
|
CUR_DIR := $(PARENT_DIR)/test
|
||||||
export MAXSCALE_HOME=$(CUR_DIR)/MaxScale
|
export MAXSCALE_HOME=$(CUR_DIR)
|
||||||
|
|
||||||
CC=cc
|
CC=cc
|
||||||
TESTLOG := $(CUR_DIR)/testserver.log
|
TESTLOG := $(CUR_DIR)/testserver.log
|
||||||
|
|||||||
Reference in New Issue
Block a user