We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac13f58 commit 1bace55Copy full SHA for 1bace55
.github/last_commit.txt
@@ -1 +1 @@
1
-337ad331d577c2bf3d4e92fb73a77dc37cf8fc7f
+8ca586a7fefca64794ea9ae26aed6c720d216d32
src/client/query/impl/exec_query.cpp
@@ -128,8 +128,12 @@ class TExecuteQueryIterator::TReaderImpl {
128
};
129
130
TAsyncExecuteQueryPart TExecuteQueryIterator::ReadNext() {
131
+ if (!ReaderImpl_) {
132
+ RaiseError("Attempt to read a stream result part on an invalid stream. ");
133
+ }
134
+
135
if (ReaderImpl_->IsFinished()) {
- RaiseError("Attempt to perform read on invalid or finished stream");
136
+ RaiseError("Attempt to read a stream result part on a finished stream. ");
137
}
138
139
return ReaderImpl_->ReadNext(ReaderImpl_);
0 commit comments