Skip to content

Commit ddb4f8d

Browse files
committed
v1.13.4
1 parent a2b1b8c commit ddb4f8d

File tree

10 files changed

+34
-25
lines changed

10 files changed

+34
-25
lines changed

.github/workflows/build.yml

+3-3
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.24.0', '1.23.6']
33+
go: ['1.24.1', '1.23.7']
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.24.0', '1.23.6']
74+
go: ['1.24.1', '1.23.7']
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.24.0', '1.23.6']
107+
go: ['1.24.1', '1.23.7']
108108
fail-fast: false
109109

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

Makefile

+4-4
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ all:
1313
go test ./...
1414
go test ./... -race
1515
# @echo execute tests on older supported go versions
16-
GOTOOLCHAIN=go1.23.6 go1.23.6 test ./...
17-
GOTOOLCHAIN=go1.23.6 go1.23.6 test ./... -race
16+
GOTOOLCHAIN=go1.23.7 go1.23.7 test ./...
17+
GOTOOLCHAIN=go1.23.7 go1.23.7 test ./... -race
1818
# @echo execute tests on future supported go versions
1919

2020
#see fsfe reuse tool (https://git.fsfe.org/reuse/tool)
@@ -44,5 +44,5 @@ tools:
4444

4545
#install additional go versions
4646
go:
47-
go install golang.org/dl/go1.23.6@latest
48-
go1.23.6 download
47+
go install golang.org/dl/go1.23.7@latest
48+
go1.23.7 download

RELEASENOTES.md

+3
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ Release Notes
55

66
### Minor revisions
77

8+
#### v1.13.4
9+
- updated dependencies
10+
811
#### v1.13.3
912
- fixed synchronize refresh calls
1013

driver/driver.go

+1-1
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.13.3"
13+
const DriverVersion = "1.13.4"
1414

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

driver/internal/protocol/x_stringer.go

+8-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

driver/main_test.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -187,15 +187,15 @@ func (mt *MainTest) dropSchema(db *sql.DB, schema string) error {
187187

188188
func (mt *MainTest) queryNumTablesInSchema(db *sql.DB, schema string) (int, error) {
189189
numTables := 0
190-
if err := db.QueryRow(fmt.Sprintf("select count(*) from sys.tables where schema_name = '%s'", schema)).Scan(&numTables); err != nil {
190+
if err := db.QueryRow("select count(*) from sys.tables where schema_name = ?", schema).Scan(&numTables); err != nil {
191191
return 0, err
192192
}
193193
return numTables, nil
194194
}
195195

196196
func (mt *MainTest) queryNumProcsInSchema(db *sql.DB, schema string) (int, error) {
197197
numProcs := 0
198-
if err := db.QueryRow(fmt.Sprintf("select count(*) from sys.procedures where schema_name = '%s'", schema)).Scan(&numProcs); err != nil {
198+
if err := db.QueryRow("select count(*) from sys.procedures where schema_name = ?", schema).Scan(&numProcs); err != nil {
199199
return 0, err
200200
}
201201
return numProcs, nil
@@ -204,7 +204,7 @@ func (mt *MainTest) queryNumProcsInSchema(db *sql.DB, schema string) (int, error
204204
func (mt *MainTest) querySchemasPrefix(db *sql.DB, prefix string) ([]string, error) {
205205
names := make([]string, 0)
206206

207-
rows, err := db.Query(fmt.Sprintf("select schema_name from sys.schemas where schema_name like '%s_%%'", prefix))
207+
rows, err := db.Query("select schema_name from sys.schemas where schema_name like ?", prefix+"_%")
208208
if err != nil {
209209
return nil, err
210210
}

go.mod

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
module github.com/SAP/go-hdb
22

3-
go 1.23
3+
go 1.23.0
44

5-
toolchain go1.24.0
5+
toolchain go1.24.1
66

77
require (
8-
golang.org/x/crypto v0.33.0
8+
golang.org/x/crypto v0.35.0
99
golang.org/x/text v0.22.0
1010
)

go.sum

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
golang.org/x/crypto v0.33.0 h1:IOBPskki6Lysi0lo9qQvbxiQ+FvsCC/YWOecCHAixus=
2-
golang.org/x/crypto v0.33.0/go.mod h1:bVdXmD7IV/4GdElGPozy6U7lWdRXA4qyRVGJV57uQ5M=
1+
golang.org/x/crypto v0.35.0 h1:b15kiHdrGCHrP6LvwaQ3c03kgNhhiMgvlhxHQhmg2Xs=
2+
golang.org/x/crypto v0.35.0/go.mod h1:dy7dXNW32cAb/6/PRuTNsix8T+vJAqvuIy5Bli/x0YQ=
33
golang.org/x/text v0.22.0 h1:bofq7m3/HAFvbF51jz3Q9wLg3jkvSPuiZu/pD1XwgtM=
44
golang.org/x/text v0.22.0/go.mod h1:YRoo4H8PVmsu+E3Ou7cqLVH8oXWIHVoX0jqUWALQhfY=

prometheus/Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ all:
1212
@echo execute tests on latest go version
1313
go test ./...
1414
# @echo execute tests on older supported go versions
15-
GOTOOLCHAIN=go1.23.6 go1.23.6 test ./...
15+
GOTOOLCHAIN=go1.23.7 go1.23.7 test ./...
1616
# @echo execute tests on future supported go versions

prometheus/go.mod

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
module github.com/SAP/go-hdb/prometheus
22

3-
go 1.23
3+
go 1.23.0
44

5-
toolchain go1.24.0
5+
toolchain go1.24.1
66

77
// replace github.com/SAP/go-hdb => ..
88

99
require (
10-
github.com/SAP/go-hdb v1.13.3
11-
github.com/prometheus/client_golang v1.20.5
10+
github.com/SAP/go-hdb v1.13.4
11+
github.com/prometheus/client_golang v1.21.1
1212
)
1313

1414
require (
1515
github.com/beorn7/perks v1.0.1 // indirect
1616
github.com/cespare/xxhash/v2 v2.3.0 // indirect
17-
github.com/klauspost/compress v1.17.9 // indirect
17+
github.com/klauspost/compress v1.17.11 // indirect
1818
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
1919
github.com/prometheus/client_model v0.6.1 // indirect
2020
github.com/prometheus/common v0.62.0 // indirect
2121
github.com/prometheus/procfs v0.15.1 // indirect
22-
golang.org/x/crypto v0.33.0 // indirect
22+
golang.org/x/crypto v0.35.0 // indirect
2323
golang.org/x/sys v0.30.0 // indirect
2424
golang.org/x/text v0.22.0 // indirect
2525
google.golang.org/protobuf v1.36.5 // indirect

0 commit comments

Comments
 (0)