Merge branch '2.3' into 2.4

This commit is contained in:
Esa Korhonen
2020-07-28 16:00:02 +03:00
943 changed files with 12 additions and 11 deletions

View File

@ -0,0 +1,22 @@
/**
* MXS-1773: Failing LOAD DATA LOCAL INFILE confuses readwritesplit
*
* https://jira.mariadb.org/browse/MXS-1773
*/
#include <maxtest/testconnections.hh>
#include <functional>
int main(int argc, char** argv)
{
TestConnections test(argc, argv);
test.maxscales->connect();
auto q = std::bind(execute_query, test.maxscales->conn_rwsplit[0], std::placeholders::_1);
q("LOAD DATA LOCAL INFILE '/tmp/this-file-does-not-exist.txt' INTO TABLE this_table_does_not_exist");
q("SELECT 1");
q("SELECT 2");
q("SELECT 3");
test.maxscales->disconnect();
return test.global_result;
}