Files
MaxScale/server/modules/routing
Markus Mäkelä 311adf817f MXS-1776: Handle recursive COM_STMT_EXECUTE commands
Readwritesplit would not handle multiple overlapping COM_STMT_EXECUTE
commands properly if they opened cursors. This was due to the fact that
the result would not be marked as complete and COM_STMT_FETCH commands
were executed as if they did not return results.

The correct implementation is to consider a COM_STMT_EXECUTE that opens a
cursor complete only when the first EOF packet is read (that is, when the
resultset header is read). This allows subsequent COM_STMT_FETCH commands
to be handled separately.

The separate COM_STMT_FETCH handling must count the number of packets that
are being fetched. This allows correct tracking of the state of a
COM_STMT_FETCH by checking that the number of packets is correct or the
second EOF/ERR packet is read.
2018-04-11 15:26:37 +03:00
..
2018-03-06 10:38:01 +02:00
2018-01-30 16:28:11 +02:00
2017-06-01 10:24:20 +03:00
2017-06-01 10:24:20 +03:00
2018-01-16 09:47:49 +02:00
2017-03-03 15:35:37 +02:00