mirror of
https://gitee.com/he3db/he3pg.git
synced 2024-12-02 04:07:34 +08:00
Merge branch 'dev_performance' of gitee.com:he3db/he3pg into dev_performance
This commit is contained in:
commit
0b665cc926
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user