File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed
Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -247,7 +247,8 @@ func Test_Schema_007(t *testing.T) {
247247 Schemas : map [string ]string {
248248 "main" : filepath .Join (tmpdir , "main.sqlite" ),
249249 },
250- Trace : true ,
250+ Trace : true ,
251+ Create : true ,
251252 }, errs )
252253 if err != nil {
253254 t .Fatal (err )
Original file line number Diff line number Diff line change @@ -31,19 +31,19 @@ type SQPool interface {
3131 // connections available or an error occurs, nil is returned.
3232 Get (context.Context ) SQConnection
3333
34- // Cur returns the current number of used connections
35- Cur () int64
36-
3734 // Return connection to the pool
3835 Put (SQConnection )
3936
37+ // Cur returns the current number of used connections
38+ Cur () int32
39+
4040 // Max returns the maximum number of connections allowed
41- Max () int64
41+ Max () int32
4242
4343 // SetMax allowed connections released from pool. Note this does not change
4444 // the maximum instantly, it will settle to this value over time. Set as value
4545 // zero to disable opening new connections
46- SetMax (int64 )
46+ SetMax (int32 )
4747}
4848
4949// SQConnection is an sqlite connection to one or more databases
You can’t perform that action at this time.
0 commit comments