summaryrefslogtreecommitdiffstats
path: root/db.go
diff options
context:
space:
mode:
authorraylu <raylu@mixpanel.com>2011-08-07 23:39:19 -0700
committerraylu <raylu@mixpanel.com>2011-08-07 23:39:19 -0700
commite6b9900d3ba394eba04b84a8a01be644d43d642c (patch)
tree232ebd270085d94ba5157ffe0c376b168a488818 /db.go
parentf6b3401e74d19b7f66d3edf3f84f667001972cea (diff)
downloadaudioaxis-e6b9900d3ba394eba04b84a8a01be644d43d642c.tar.xz
always use bound params
Diffstat (limited to 'db.go')
-rw-r--r--db.go8
1 files changed, 0 insertions, 8 deletions
diff --git a/db.go b/db.go
index b980f45..8ded5ec 100644
--- a/db.go
+++ b/db.go
@@ -68,11 +68,3 @@ func getpid(id string) int {
}
return pid
}
-
-func execute(sql string) os.Error {
- err := db.Query(sql)
- if err != nil {
- log.Println(err)
- }
- return err
-}