mirror of
				https://github.com/sqlite/sqlite.git
				synced 2025-11-03 16:53:36 +03:00 
			
		
		
		
	Further performance improvements that fall out of the mallocFailed changes.
FossilOrigin-Name: d94416ddca8f7ed727dd335d38155ea5945a86b7
This commit is contained in:
		@@ -2511,7 +2511,7 @@ int sqlite3VdbeHalt(Vdbe *p){
 | 
			
		||||
  ** one, or the complete transaction if there is no statement transaction.
 | 
			
		||||
  */
 | 
			
		||||
 | 
			
		||||
  if( p->db->mallocFailed ){
 | 
			
		||||
  if( db->mallocFailed ){
 | 
			
		||||
    p->rc = SQLITE_NOMEM;
 | 
			
		||||
  }
 | 
			
		||||
  if( p->aOnceFlag ) memset(p->aOnceFlag, 0, p->nOnceFlag);
 | 
			
		||||
@@ -2672,7 +2672,7 @@ int sqlite3VdbeHalt(Vdbe *p){
 | 
			
		||||
  }
 | 
			
		||||
  p->magic = VDBE_MAGIC_HALT;
 | 
			
		||||
  checkActiveVdbeCnt(db);
 | 
			
		||||
  if( p->db->mallocFailed ){
 | 
			
		||||
  if( db->mallocFailed ){
 | 
			
		||||
    p->rc = SQLITE_NOMEM;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user