diff options
author | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2016-11-09 01:13:34 +0900 |
---|---|---|
committer | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2016-11-09 01:13:34 +0900 |
commit | f043f8092b52ded4899199e875282ac4dc93d266 (patch) | |
tree | 9113c332db8bab0bbbb528211d6eb1900c1fe1b1 /sqlite3.go | |
parent | disable combination of libsqlite3 and trace because travis(trusty) is too old. (diff) | |
download | golite-f043f8092b52ded4899199e875282ac4dc93d266.tar.gz golite-f043f8092b52ded4899199e875282ac4dc93d266.tar.xz |
use prepare instead of Prepare
Diffstat (limited to 'sqlite3.go')
-rw-r--r-- | sqlite3.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -421,7 +421,7 @@ func (c *SQLiteConn) Exec(query string, args []driver.Value) (driver.Result, err func (c *SQLiteConn) exec(ctx context.Context, query string, args []namedValue) (driver.Result, error) { start := 0 for { - s, err := c.Prepare(query) + s, err := c.prepare(ctx, query) if err != nil { return nil, err } @@ -472,7 +472,7 @@ func (c *SQLiteConn) Query(query string, args []driver.Value) (driver.Rows, erro func (c *SQLiteConn) query(ctx context.Context, query string, args []namedValue) (driver.Rows, error) { start := 0 for { - s, err := c.Prepare(query) + s, err := c.prepare(ctx, query) if err != nil { return nil, err } |