Fix crash in Ido*Connection::InternalExecuteMultipleQueries

fixes #10862
This commit is contained in:
Gunnar Beutner 2015-12-16 11:29:06 +01:00
parent ef8ba6e275
commit 346c0cbb3c
2 changed files with 6 additions and 0 deletions

View File

@ -813,6 +813,9 @@ void IdoMysqlConnection::InternalExecuteMultipleQueries(const std::vector<DbQuer
{
AssertOnWorkQueue();
if (!GetConnected())
return;
BOOST_FOREACH(const DbQuery& query, queries) {
ASSERT(query.Category != DbCatInvalid);

View File

@ -691,6 +691,9 @@ void IdoPgsqlConnection::InternalExecuteMultipleQueries(const std::vector<DbQuer
{
AssertOnWorkQueue();
if (!GetConnected())
return;
BOOST_FOREACH(const DbQuery& query, queries) {
ASSERT(query.Category != DbCatInvalid);