Skip to content

Commit 50b666a

Browse files
committed
Updated for 32-bit
1 parent 1427f7d commit 50b666a

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

pkg/sqlite3/schema_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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)

sqlite.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)