Files
MaxScale/system-test/mxs1677_temp_table.cpp
Esa Korhonen 08f5174915 MXS-2900 Rename maxscale-system-test directory to system-test
A link with the old directory name is provided.
2020-07-28 15:24:27 +03:00

19 lines
537 B
C++

/**
* 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.log_excludes(0, "The provided buffer does not contain a COM_QUERY, but a COM_QUIT");
return test.global_result;
}