Selaa lähdekoodia

:mute: logging

Liang Ding 2 vuotta sitten
vanhempi
commit
dcb1f395da
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      kernel/sql/block_query.go

+ 1 - 1
kernel/sql/block_query.go

@@ -478,7 +478,7 @@ func selectBlocksRawStmt(stmt string, limit int) (ret []*Block) {
 			errCount++
 			errCount++
 		}
 		}
 
 
-		if (confLimit && limit < count) || 1 < errCount {
+		if (confLimit && limit < count) || 0 < errCount {
 			break
 			break
 		}
 		}
 	}
 	}