diff --git a/server/modules/protocol/MySQL/MySQLBackend/mysql_backend.c b/server/modules/protocol/MySQL/MySQLBackend/mysql_backend.c index 5da4d7797..6276cae0f 100644 --- a/server/modules/protocol/MySQL/MySQLBackend/mysql_backend.c +++ b/server/modules/protocol/MySQL/MySQLBackend/mysql_backend.c @@ -778,6 +778,11 @@ gw_read_and_write(DCB *dcb) return 0; } } + else if (rcap_type_required(capabilities, RCAP_TYPE_STMT_OUTPUT) && + !rcap_type_required(capabilities, RCAP_TYPE_RESULTSET_OUTPUT)) + { + stmt = modutil_get_next_MySQL_packet(&read_buffer); + } else { stmt = read_buffer;