mirror of https://github.com/perkeep/perkeep.git
sqlite: fix args passed to exec call
Change-Id: Id24ad8d3baadf8db4324ad006095fb14c93bb892
This commit is contained in:
parent
27f7e9ecf6
commit
77d921371c
|
@ -1 +1 @@
|
||||||
foo.db
|
foo.db*
|
||||||
|
|
|
@ -132,7 +132,7 @@ func (c *Conn) Exec(cmd string, args ...interface{}) os.Error {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
defer s.Finalize()
|
defer s.Finalize()
|
||||||
err = s.Exec(args)
|
err = s.Exec(args...)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue