mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-29 08:01:23 +03:00
In sqlite_dbpage, cancel any pending truncate operation if there an error
occurs later in the transaction. FossilOrigin-Name: 1abab10f85a4dba5ffe51a30eeef30853c120e5566ed97b3af1526fff597c647
This commit is contained in:
@ -393,6 +393,8 @@ static int dbpageUpdate(
|
||||
memcpy(aPage, pData, szPage);
|
||||
pTab->pgnoTrunc = 0;
|
||||
}
|
||||
}else{
|
||||
pTab->pgnoTrunc = 0;
|
||||
}
|
||||
sqlite3PagerUnref(pDbPage);
|
||||
return rc;
|
||||
|
Reference in New Issue
Block a user