We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a741313 commit 8a04e90Copy full SHA for 8a04e90
src/postgres_binary_reader.cpp
@@ -27,13 +27,10 @@ PostgresReadResult PostgresBinaryReader::Read(DataChunk &output) {
27
}
28
FreeBuffer();
29
if (!FetchNextBuffer()) {
30
- break;
+ return PostgresReadResult::FINISHED;
31
32
33
- if (output.size() > 0) {
34
- return PostgresReadResult::HAVE_MORE_TUPLES;
35
- }
36
- return PostgresReadResult::FINISHED;
+ return PostgresReadResult::HAVE_MORE_TUPLES;
37
38
39
bool PostgresBinaryReader::FetchNextBuffer() {
0 commit comments