mirror of
https://github.com/ncruces/go-sqlite3.git
synced 2026-01-11 21:49:13 +00:00
More BCE.
This commit is contained in:
4
stmt.go
4
stmt.go
@@ -640,9 +640,7 @@ func (s *Stmt) Columns(dest []any) error {
|
||||
|
||||
types := util.View(s.c.mod, typePtr, count)
|
||||
|
||||
// hint to the compiler that
|
||||
// it can omit bounds check
|
||||
// accessing types[i] below.
|
||||
// Avoid bounds checks on types below.
|
||||
if len(types) != len(dest) {
|
||||
panic(util.AssertErr())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user