mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-05 15:55:57 +03:00
Merge recent trunk enhancements into the begin-concurrent branch.
FossilOrigin-Name: 93b9ef3f470a04658f5a7931a7ea978f2c35326a634586893670df9476833835
This commit is contained in:
@@ -1844,7 +1844,7 @@ static int sessionBufferGrow(SessionBuffer *p, size_t nByte, int *pRc){
|
||||
i64 nNew = p->nAlloc ? p->nAlloc : 128;
|
||||
do {
|
||||
nNew = nNew*2;
|
||||
}while( (nNew-p->nBuf)<nByte );
|
||||
}while( (size_t)(nNew-p->nBuf)<nByte );
|
||||
|
||||
aNew = (u8 *)sqlite3_realloc64(p->aBuf, nNew);
|
||||
if( 0==aNew ){
|
||||
|
Reference in New Issue
Block a user