Skip to content

Commit ec11d50

Browse files
committed
v1.8.12
1 parent b877c5b commit ec11d50

File tree

7 files changed

+30
-26
lines changed

7 files changed

+30
-26
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
matrix:
3131
goos: [linux]
3232
goarch: [amd64, arm, arm64, s390x]
33-
go: ['1.22.1', '1.21.8']
33+
go: ['1.22.2', '1.21.9']
3434
fail-fast: false
3535

3636
name: Go ${{ matrix.go }} ${{ matrix.goos }} ${{ matrix.goarch }} build
@@ -71,7 +71,7 @@ jobs:
7171
runs-on: macos-latest
7272
strategy:
7373
matrix:
74-
go: ['1.22.1', '1.21.8']
74+
go: ['1.22.2', '1.21.9']
7575
fail-fast: false
7676

7777
name: Go ${{ matrix.go }} macOS
@@ -104,7 +104,7 @@ jobs:
104104
runs-on: windows-latest
105105
strategy:
106106
matrix:
107-
go: ['1.22.1', '1.21.8']
107+
go: ['1.22.2', '1.21.9']
108108
fail-fast: false
109109

110110
name: Go ${{ matrix.go }} Windows

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ all:
1212
@echo execute tests on latest go version
1313
go test ./...
1414
@echo execute tests on older supported go versions
15-
GOTOOLCHAIN=go1.21.8 go1.21.8 test ./...
15+
GOTOOLCHAIN=go1.21.9 go1.21.9 test ./...
1616
@echo execute tests on future supported go versions
1717
#see fsfe reuse tool (https://git.fsfe.org/reuse/tool)
1818
@echo "reuse (license) check"
@@ -40,5 +40,5 @@ tools:
4040

4141
#install additional go versions
4242
go:
43-
go install golang.org/dl/go1.21.8@latest
44-
go1.21.8 download
43+
go install golang.org/dl/go1.21.9@latest
44+
go1.21.9 download

RELEASENOTES.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,10 @@ Release Notes
55

66
### Minor revisions
77

8-
#### v1.8.10
8+
#### v1.8.12
9+
- updated dependencies
10+
11+
#### v1.8.11
912
- fixed typo
1013
- fixed SQL datatype in StructScanner
1114

driver/driver.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
)
1111

1212
// DriverVersion is the version number of the hdb driver.
13-
const DriverVersion = "1.8.11"
13+
const DriverVersion = "1.8.12"
1414

1515
// DriverName is the driver name to use with sql.Open for hdb databases.
1616
const DriverName = "hdb"

driver/scanner.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import (
88
"time"
99

1010
hdbreflect "github.com/SAP/go-hdb/driver/internal/reflect"
11+
"github.com/SAP/go-hdb/driver/internal/unsafe"
1112
)
1213

1314
const sqlTagKey = "sql"
@@ -112,7 +113,7 @@ func (c structColumns) defs() (string, error) {
112113
buf = append(buf, definition...)
113114
}
114115
buf = append(buf, ')')
115-
return string(buf), nil
116+
return unsafe.ByteSlice2String(buf), nil
116117
}
117118

118119
func (c structColumns) queryPlaceholders() string {
@@ -124,7 +125,7 @@ func (c structColumns) queryPlaceholders() string {
124125
buf = append(buf, ",?"...)
125126
}
126127
buf = append(buf, ')')
127-
return string(buf)
128+
return unsafe.ByteSlice2String(buf)
128129
}
129130

130131
// StructScanner is a database scanner to scan rows into a struct of type S.

go.mod

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,20 +2,20 @@ module github.com/SAP/go-hdb
22

33
go 1.21
44

5-
toolchain go1.22.1
5+
toolchain go1.22.2
66

77
require (
88
github.com/prometheus/client_golang v1.19.0
9-
golang.org/x/crypto v0.21.0
9+
golang.org/x/crypto v0.22.0
1010
golang.org/x/text v0.14.0
1111
)
1212

1313
require (
1414
github.com/beorn7/perks v1.0.1 // indirect
15-
github.com/cespare/xxhash/v2 v2.2.0 // indirect
16-
github.com/prometheus/client_model v0.6.0 // indirect
17-
github.com/prometheus/common v0.50.0 // indirect
15+
github.com/cespare/xxhash/v2 v2.3.0 // indirect
16+
github.com/prometheus/client_model v0.6.1 // indirect
17+
github.com/prometheus/common v0.52.2 // indirect
1818
github.com/prometheus/procfs v0.13.0 // indirect
19-
golang.org/x/sys v0.18.0 // indirect
19+
golang.org/x/sys v0.19.0 // indirect
2020
google.golang.org/protobuf v1.33.0 // indirect
2121
)

go.sum

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM=
22
github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw=
3-
github.com/cespare/xxhash/v2 v2.2.0 h1:DC2CZ1Ep5Y4k3ZQ899DldepgrayRUGE6BBZ/cd9Cj44=
4-
github.com/cespare/xxhash/v2 v2.2.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
3+
github.com/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs=
4+
github.com/cespare/xxhash/v2 v2.3.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs=
55
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
66
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
77
github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
88
github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
99
github.com/prometheus/client_golang v1.19.0 h1:ygXvpU1AoN1MhdzckN+PyD9QJOSD4x7kmXYlnfbA6JU=
1010
github.com/prometheus/client_golang v1.19.0/go.mod h1:ZRM9uEAypZakd+q/x7+gmsvXdURP+DABIEIjnmDdp+k=
11-
github.com/prometheus/client_model v0.6.0 h1:k1v3CzpSRUTrKMppY35TLwPvxHqBu0bYgxZzqGIgaos=
12-
github.com/prometheus/client_model v0.6.0/go.mod h1:NTQHnmxFpouOD0DpvP4XujX3CdOAGQPoaGhyTchlyt8=
13-
github.com/prometheus/common v0.50.0 h1:YSZE6aa9+luNa2da6/Tik0q0A5AbR+U003TItK57CPQ=
14-
github.com/prometheus/common v0.50.0/go.mod h1:wHFBCEVWVmHMUpg7pYcOm2QUR/ocQdYSJVQJKnHc3xQ=
11+
github.com/prometheus/client_model v0.6.1 h1:ZKSh/rekM+n3CeS952MLRAdFwIKqeY8b62p8ais2e9E=
12+
github.com/prometheus/client_model v0.6.1/go.mod h1:OrxVMOVHjw3lKMa8+x6HeMGkHMQyHDk9E3jmP2AmGiY=
13+
github.com/prometheus/common v0.52.2 h1:LW8Vk7BccEdONfrJBDffQGRtpSzi5CQaRZGtboOO2ck=
14+
github.com/prometheus/common v0.52.2/go.mod h1:lrWtQx+iDfn2mbH5GUzlH9TSHyfZpHkSiG1W7y3sF2Q=
1515
github.com/prometheus/procfs v0.13.0 h1:GqzLlQyfsPbaEHaQkO7tbDlriv/4o5Hudv6OXHGKX7o=
1616
github.com/prometheus/procfs v0.13.0/go.mod h1:cd4PFCR54QLnGKPaKGA6l+cfuNXtht43ZKY6tow0Y1g=
17-
golang.org/x/crypto v0.21.0 h1:X31++rzVUdKhX5sWmSOFZxx8UW/ldWx55cbf08iNAMA=
18-
golang.org/x/crypto v0.21.0/go.mod h1:0BP7YvVV9gBbVKyeTG0Gyn+gZm94bibOW5BjDEYAOMs=
19-
golang.org/x/sys v0.18.0 h1:DBdB3niSjOA/O0blCZBqDefyWNYveAYMNF1Wum0DYQ4=
20-
golang.org/x/sys v0.18.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
17+
golang.org/x/crypto v0.22.0 h1:g1v0xeRhjcugydODzvb3mEM9SQ0HGp9s/nh3COQ/C30=
18+
golang.org/x/crypto v0.22.0/go.mod h1:vr6Su+7cTlO45qkww3VDJlzDn0ctJvRgYbC2NvXHt+M=
19+
golang.org/x/sys v0.19.0 h1:q5f1RH2jigJ1MoAWp2KTp3gm5zAGFUTarQZ5U386+4o=
20+
golang.org/x/sys v0.19.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
2121
golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ=
2222
golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU=
2323
google.golang.org/protobuf v1.33.0 h1:uNO2rsAINq/JlFpSdYEKIZ0uKD/R9cpdv0T+yoGwGmI=

0 commit comments

Comments
 (0)