mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 23:52:03 +00:00
Merge pull request #31766 from kssenii/odbc-fix
Fix crash with empty result on odbc query
This commit is contained in:
commit
563b615904
@ -28,6 +28,8 @@ CascadeWriteBuffer::CascadeWriteBuffer(WriteBufferPtrs && prepared_sources_, Wri
|
||||
|
||||
void CascadeWriteBuffer::nextImpl()
|
||||
{
|
||||
if (!curr_buffer)
|
||||
return;
|
||||
try
|
||||
{
|
||||
curr_buffer->position() = position();
|
||||
|
Loading…
Reference in New Issue
Block a user