MXS-1896: Distinct LOAD DATA LOCAL INFILE from LOAD DATA INFILE

The two operations return different types of results and need to be
treated differently in order for them to be handled correctly in 2.2.

This fixes the unexpected internal state errors that happened in all 2.2
versions due to a wrong assumption made by readwritesplit. This fix is not
necessary for newer versions as the LOAD DATA LOCAL INFILE processing is
done with a simpler, and more robust, method.
This commit is contained in:
Markus Mäkelä
2018-06-02 22:24:51 +03:00
parent c88aa11e11
commit cddcc6d7d5
10 changed files with 57 additions and 14 deletions

View File

@ -104,6 +104,7 @@ typedef enum qc_query_op
QUERY_OP_EXPLAIN,
QUERY_OP_GRANT,
QUERY_OP_INSERT,
QUERY_OP_LOAD_LOCAL,
QUERY_OP_LOAD,
QUERY_OP_REVOKE,
QUERY_OP_SELECT,