Merge pull request #6882 from clemrodriguez/issue-6825

Fix too early MySQL connection closure in MySQLBlockInputStreamream.cpp
This commit is contained in:
alexey-milovidov 2019-09-11 02:03:20 +03:00 committed by GitHub
commit a446ec5e61
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

@ -131,8 +131,6 @@ Block MySQLBlockInputStream::readImpl()
row = result.fetch();
}
if (auto_close)
entry.disconnect();
return description.sample_block.cloneWithColumns(std::move(columns));
}