Remove false debug assertion

A prepared statement ID of 0 is allowed.
This commit is contained in:
Markus Mäkelä
2018-04-25 17:01:58 +03:00
parent a155d1085c
commit 260fcf85ec

View File

@ -274,7 +274,6 @@ bool route_single_stmt(RWSplit *inst, RWSplitSession *rses, GWBUF *querybuf, con
/** Track the targets of the COM_STMT_EXECUTE statements. This
* information is used to route all COM_STMT_FETCH commands
* to the same server where the COM_STMT_EXECUTE was done. */
ss_dassert(stmt_id > 0);
rses->exec_map[stmt_id] = target;
MXS_INFO("COM_STMT_EXECUTE on %s", target->uri());
}