[CONJ-976] Improve use of pipelining when allowLocalInfile is enable Created: 2022-05-25 Updated: 2022-06-27 Resolved: 2022-06-02 |
|
| Status: | Closed |
| Project: | MariaDB Connector/J |
| Component/s: | batch |
| Affects Version/s: | None |
| Fix Version/s: | 3.0.6 |
| Type: | Task | Priority: | Major |
| Reporter: | Diego Dupin | Assignee: | Diego Dupin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Description |
|
since allowLocalInfile is enable by default (https://jira.mariadb.org/browse/CONJ-961), different performance optimisation using pipelining are now disable by default. 'LOAD LOCAL INFILE' commands are very unlikly to be used in batch. To avoid performance regression, driver can do a poor man parsing, to ensure that batching doesn't contain LOAD LOCAL commands, permitting then the use of pipelining (and bulk). |