mirror of
				https://github.com/sqlite/sqlite.git
				synced 2025-11-02 05:54:29 +03:00 
			
		
		
		
	Omit the SQLITE_STOREP2 and SQLITE_KEEPNULL options from the comparison
opcodes, allowing them to run faster. This required refactoring the vector comparison logic, which in turn required changing OP_ElseNotEq into OP_ElseEq. FossilOrigin-Name: 380b46054b6a9b67e57357815e8e94057253fa3cce838ae76e5d5031c6bd26b2
This commit is contained in:
		@@ -1487,11 +1487,7 @@ char *sqlite3VdbeDisplayComment(
 | 
			
		||||
    char c;
 | 
			
		||||
    zSynopsis = zOpName += nOpName + 1;
 | 
			
		||||
    if( strncmp(zSynopsis,"IF ",3)==0 ){
 | 
			
		||||
      if( pOp->p5 & SQLITE_STOREP2 ){
 | 
			
		||||
        sqlite3_snprintf(sizeof(zAlt), zAlt, "r[P2] = (%s)", zSynopsis+3);
 | 
			
		||||
      }else{
 | 
			
		||||
        sqlite3_snprintf(sizeof(zAlt), zAlt, "if %s goto P2", zSynopsis+3);
 | 
			
		||||
      }
 | 
			
		||||
      sqlite3_snprintf(sizeof(zAlt), zAlt, "if %s goto P2", zSynopsis+3);
 | 
			
		||||
      zSynopsis = zAlt;
 | 
			
		||||
    }
 | 
			
		||||
    for(ii=0; (c = zSynopsis[ii])!=0; ii++){
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user