Skip to content

Commit

Permalink
Merge pull request #134 from antoine-lizee/patch-1
Browse files Browse the repository at this point in the history
Update simple.go (very small change)
  • Loading branch information
mattn committed Jul 30, 2014
2 parents 9ac94b6 + 0cdea24 commit 1704ea5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions _example/simple/simple.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ func main() {
}
defer db.Close()

sql := `
sqlStmt := `
create table foo (id integer not null primary key, name text);
delete from foo;
`
_, err = db.Exec(sql)
_, err = db.Exec(sqlStmt)
if err != nil {
log.Printf("%q: %s\n", err, sql)
log.Printf("%q: %s\n", err, sqlStmt)
return
}

Expand Down

0 comments on commit 1704ea5

Please sign in to comment.