mirror of https://github.com/mattn/go-sqlite3.git
Merge pull request #231 from marccampbell/master
Fix example to check the correct error value
This commit is contained in:
commit
897b8800a7
|
@ -54,7 +54,7 @@ func main() {
|
|||
log.Fatal(err)
|
||||
}
|
||||
|
||||
bk.Step(-1)
|
||||
_, err = bk.Step(-1)
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue