mirror of
https://gitee.com/he3db/he3pg.git
synced 2024-12-03 12:47:34 +08:00
!101 wal memory query
Merge pull request !101 from shenzhengntu/dev_performance
This commit is contained in:
commit
289fb63ae4
@ -169,7 +169,7 @@ int walRecordQuery(char**buffer,int* curpos,int* maxspace,uint64 lsn) {
|
||||
free(*buffer);
|
||||
*buffer = ptr;
|
||||
}
|
||||
memcpy(*buffer,record,xllen);
|
||||
memcpy(*buffer+*curpos,record,xllen);
|
||||
*curpos += xllen;
|
||||
}
|
||||
return xllen;
|
||||
|
Loading…
Reference in New Issue
Block a user