From 5adae0ff3b120c5cd2009a874e45ceef4eb2a7ff Mon Sep 17 00:00:00 2001 From: Markus Makela Date: Sun, 23 Aug 2015 20:46:16 +0300 Subject: [PATCH] Added missing return value. --- server/modules/routing/readwritesplit/readwritesplit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/modules/routing/readwritesplit/readwritesplit.c b/server/modules/routing/readwritesplit/readwritesplit.c index 06932e206..417abdfe7 100644 --- a/server/modules/routing/readwritesplit/readwritesplit.c +++ b/server/modules/routing/readwritesplit/readwritesplit.c @@ -1684,7 +1684,7 @@ static skygw_query_type_t is_read_tmp_table( { skygw_log_write(LE,"[%s] Error: Master server reference is NULL.", __FUNCTION__); - return; + return type; } rses_prop_tmp = router_cli_ses->rses_properties[RSES_PROP_TYPE_TMPTABLES];