!101 wal memory query

Merge pull request !101 from shenzhengntu/dev_performance
This commit is contained in:
zoujia_yewu 2023-03-29 09:13:12 +00:00 committed by Gitee
commit 289fb63ae4
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -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;