Merge branch 'dev_performance' of gitee.com:he3db/he3pg into dev_performance

This commit is contained in:
shenzhengntu 2023-03-29 12:14:03 +08:00
commit 0b665cc926

View File

@ -2437,7 +2437,7 @@ MasterFileRead(char *buffer,uint32_t dbid, uint32_t relid, uint32_t forkno, uint
if (bufrd.count > 0)
{
memcpy(buffer,bufrd.buf,bufrd.count);
free_dataRead(bufrd.buf,1,1);
free_dataRead(bufrd.buf,bufrd.count, bufrd.cap);
}
return bufrd.count;