Files
MaxScale/server/core
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-04-10 21:39:46 +03:00
2018-03-12 14:38:13 +02:00
2017-11-22 18:40:18 +02:00
2018-03-15 23:23:15 +02:00
2017-06-01 10:24:20 +03:00
2018-02-09 09:19:46 +02:00
2017-11-22 18:40:18 +02:00
2018-04-03 10:59:55 +03:00
2017-06-01 10:24:20 +03:00
2017-11-22 18:40:18 +02:00
2018-03-20 13:07:27 +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-11-22 18:40:18 +02:00
2017-11-22 18:40:18 +02:00
2017-10-02 16:08:12 +03:00
2018-03-27 07:25:00 +03:00
2018-02-08 13:40:11 +02:00
2018-01-05 09:58:10 +02:00
2017-11-22 18:40:18 +02:00
2017-12-27 11:56:39 +02:00
2017-11-22 18:40:18 +02:00
2017-11-22 18:40:18 +02:00
2018-03-20 13:07:27 +02:00
2018-01-30 16:28:11 +02:00
2018-03-12 14:38:13 +02:00
2017-06-01 10:24:20 +03:00
2017-11-22 18:40:18 +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-11-22 18:40:18 +02:00
2018-04-10 13:49:42 +03:00
2018-01-05 09:58:10 +02:00
2017-06-01 10:24:20 +03:00
2017-11-21 16:49:21 +02:00
2017-11-22 18:40:18 +02:00
2018-02-02 16:05:14 +02:00
2017-11-22 18:40:18 +02:00