mirror of
				https://github.com/sqlite/sqlite.git
				synced 2025-11-03 16:53:36 +03:00 
			
		
		
		
	Add extra assert() statements trying to catch a Mem object in an inconsistent
state. FossilOrigin-Name: 4aeb3ae435c78070232fef21a147fde4e1c5cd31
This commit is contained in:
		@@ -1220,6 +1220,7 @@ static void releaseMemArray(Mem *p, int N){
 | 
			
		||||
    }
 | 
			
		||||
    for(pEnd=&p[N]; p<pEnd; p++){
 | 
			
		||||
      assert( (&p[1])==pEnd || p[0].db==p[1].db );
 | 
			
		||||
      assert( memSanity1(p) );
 | 
			
		||||
 | 
			
		||||
      /* This block is really an inlined version of sqlite3VdbeMemRelease()
 | 
			
		||||
      ** that takes advantage of the fact that the memory cell value is 
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user