MXS-2621: Add test case

The test reproduces the problem with lower_case_table_names.
This commit is contained in:
Markus Mäkelä
2019-08-02 09:41:19 +03:00
parent 527f9d3136
commit 15461c1f8e
3 changed files with 52 additions and 0 deletions

View File

@ -0,0 +1,15 @@
/**
* MXS-2621: Incorrect SQL if lower_case_table_names is used.
* https://jira.mariadb.org/browse/MXS-2621
*/
#include "testconnections.h"
int main(int argc, char* argv[])
{
TestConnections test(argc, argv);
test.maxscales->connect();
test.try_query(test.maxscales->conn_rwsplit[0], "SELECT 123");
test.maxscales->disconnect();
return test.global_result;
}