!2720 函数getlen_stream中RESPONSE_DATAROW分支直接return后续代码无效
Merge pull request !2720 from foolishlee/getlen_stream
This commit is contained in:
@ -4295,12 +4295,6 @@ static unsigned int getlen_stream(Tuplesortstate* state, int tapenum, bool eofOK
|
||||
} break;
|
||||
case RESPONSE_DATAROW: {
|
||||
return node->buf.len;
|
||||
/* If we have message in the buffer, consume it */
|
||||
if (node->buf.len != 0) {
|
||||
AssembleDataRow(node);
|
||||
node->need_fresh_data = false;
|
||||
return true;
|
||||
}
|
||||
} break;
|
||||
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user