MXS-1677: Add test case
Added test case that reproduces the problem and verified that it is fixed.
This commit is contained in:
18
maxscale-system-test/mxs1677_temp_table.cpp
Normal file
18
maxscale-system-test/mxs1677_temp_table.cpp
Normal file
@ -0,0 +1,18 @@
|
||||
/**
|
||||
* MXS-1677: Error messages logged for non-text queries after temporary table is created
|
||||
*
|
||||
* https://jira.mariadb.org/browse/MXS-1677
|
||||
*/
|
||||
#include "testconnections.h"
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
TestConnections test(argc, argv);
|
||||
|
||||
test.maxscales->connect();
|
||||
test.try_query(test.maxscales->conn_rwsplit[0], "CREATE TEMPORARY TABLE test.temp(id INT)");
|
||||
test.maxscales->disconnect();
|
||||
|
||||
test.check_log_err(0, "The provided buffer does not contain a COM_QUERY, but a COM_QUIT", false);
|
||||
return test.global_result;
|
||||
}
|
Reference in New Issue
Block a user