1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-08 14:22:09 +03:00

Merge pull request #1619 from tntnatbry/MCOL-4188-bps-wf-fix

MCOL-4188 Regression fixes for MCOL-641.
This commit is contained in:
Roman Nozdrin
2020-12-04 08:16:34 +03:00
committed by GitHub
2 changed files with 17 additions and 4 deletions

View File

@@ -703,6 +703,12 @@ bool BatchPrimitiveProcessorJL::countThisMsg(messageqcpp::ByteStream& in) const
const uint8_t* data = in.buf();
uint32_t offset = sizeof(ISMPacketHeader) + sizeof(PrimitiveHeader); // skip the headers
ISMPacketHeader* hdr = (ISMPacketHeader*)(data);
// Exit early if PrimProc has thrown an exception
if (hdr->Status > 0)
return true;
if (_hasScan)
{
if (data[offset] != 0)