query fuzzer

This commit is contained in:
Alexander Kuzmenkov
2020-07-10 17:16:16 +03:00
parent 0fe4c37033
commit eb6fbdfd4b
3 changed files with 12 additions and 5 deletions
+7
View File
@@ -1090,6 +1090,13 @@ private:
std::cerr << "Error on processing query: " << ast_to_process->formatForErrorMessage() << std::endl << last_exception_received_from_server->message();
}
if (!connection->isConnected())
{
// Probably the server is dead because we found an assertion
// failure. Fail fast.
return begin;
}
if (received_exception_from_server)
{
// Query completed with error, ignore it and fuzz again.