Files
MaxScale/include/maxscale
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
..
2017-06-01 10:24:20 +03:00
2018-01-25 10:52:03 +02:00
2018-04-03 10:59:55 +03:00
2017-06-01 10:24:20 +03:00
2018-02-12 11:51:39 +02:00
2017-02-20 17:44:22 +02:00
2017-06-01 10:24:20 +03:00
2017-06-29 15:34:22 +02:00
2017-12-29 08:34:46 +02:00
2017-09-07 10:41:15 +03:00
2018-02-06 14:51:07 +02:00
2017-06-01 10:24:20 +03:00
2017-06-01 10:24:20 +03:00
2017-06-01 10:24:20 +03:00
2017-06-01 10:24:20 +03:00
2017-06-01 10:24:20 +03:00
2017-06-01 10:24:20 +03:00
2017-06-01 10:24:20 +03:00
2017-06-01 10:24:20 +03:00
2017-10-03 14:30:06 +03:00
2017-06-01 10:24:20 +03:00
2017-06-01 10:24:20 +03:00
2017-06-01 10:24:20 +03:00
2017-06-01 10:24:20 +03:00
2017-06-01 10:24:20 +03:00
2017-06-01 10:24:20 +03:00
2017-06-01 10:24:20 +03:00
2017-06-01 10:24:20 +03:00
2017-06-01 10:24:20 +03:00
2018-02-06 14:51:07 +02:00
2017-06-01 10:24:20 +03:00
2017-06-01 10:24:20 +03:00
2017-06-01 10:24:20 +03:00
2017-06-01 10:24:20 +03:00
2018-04-10 13:49:42 +03:00
2017-06-29 15:34:22 +02:00
2017-06-01 10:24:20 +03:00
2017-06-01 10:24:20 +03:00
2017-11-21 16:49:21 +02:00
2017-06-01 10:24:20 +03:00
2017-09-26 14:29:14 +03:00
2017-06-01 10:24:20 +03:00
2017-03-09 10:01:38 +02:00
2017-06-01 10:24:20 +03:00