Merge pull request #134 from antoine-lizee/patch-1

Update simple.go (very small change)
This commit is contained in:
mattn 2014-07-30 09:00:17 +09:00
commit 1704ea522d
1 changed files with 3 additions and 3 deletions

View File

@ -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
}