sqlite: fix args passed to exec call

Change-Id: Id24ad8d3baadf8db4324ad006095fb14c93bb892
This commit is contained in:
Daniel Erat 2011-07-20 00:10:04 +00:00
parent 27f7e9ecf6
commit 77d921371c
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
foo.db
foo.db*

View File

@ -132,7 +132,7 @@ func (c *Conn) Exec(cmd string, args ...interface{}) os.Error {
return err
}
defer s.Finalize()
err = s.Exec(args)
err = s.Exec(args...)
if err != nil {
return err
}