mirror of https://github.com/ByConity/ByConity
Merge pull request #6882 from clemrodriguez/issue-6825
Fix too early MySQL connection closure in MySQLBlockInputStreamream.cpp
This commit is contained in:
commit
a446ec5e61
|
@ -131,8 +131,6 @@ Block MySQLBlockInputStream::readImpl()
|
|||
|
||||
row = result.fetch();
|
||||
}
|
||||
if (auto_close)
|
||||
entry.disconnect();
|
||||
return description.sample_block.cloneWithColumns(std::move(columns));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue