Skip to content

Commit

Permalink
release 0.102.3
Browse files Browse the repository at this point in the history
  • Loading branch information
stfnmllr committed Nov 8, 2020
1 parent 694e92a commit e538997
Show file tree
Hide file tree
Showing 22 changed files with 1,519 additions and 1,399 deletions.
10 changes: 8 additions & 2 deletions RELEASENOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,17 @@ Release Notes

#### Minor revisions

Release 0.102.3 (upgrade urgency: low)

- Reset the default Data Format Version to '8'
- Full support of Data Format Version 8 fixed decimals data types Fixed8, Fixed12 and Fixed16

Release 0.102.2 (upgrade urgency: high)

- Fixed go-hdb 'panic' using DECIMAL fields with precision and scale specified
- Downgrade Data Format Version from '8' to '6'

Release 0.102.1 (need to upgrade: no)
Release 0.102.1 (upgrade urgency: low)

- Fixed some report card issues

Expand All @@ -27,7 +33,7 @@ Release 0.102.1 (need to upgrade: no)

#### Incompatibilities

- some minor type incompatibilities most users should not be affected of
- Some minor type incompatibilities most users should not be affected of

## Release 0.101

Expand Down
Binary file not shown.
364 changes: 195 additions & 169 deletions driver/columntype_test.go

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions driver/connection.go
Original file line number Diff line number Diff line change
Expand Up @@ -974,6 +974,13 @@ func (s *stmt) newExecManyVariant(numField int, v interface{}) execManyer {
return execManyGenMatrix(reflect.ValueOf(v))
}

func min(a, b int) int {
if a < b {
return a
}
return b
}

/*
Non 'atomic' (transactional) operation due to the split in packages (maxBulkSize),
execMany data might only be written partially to the database in case of hdb stmt errors.
Expand Down
5 changes: 2 additions & 3 deletions driver/connector.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,11 @@ const (
DfvLevel8 = 8 // with FIXED8/12/16 support
)

//var supportedDfvs = map[int]bool{DfvLevel1: true, DfvLevel4: true, DfvLevel6: true, DfvLevel8: true}
var supportedDfvs = map[int]bool{DfvLevel1: true, DfvLevel4: true, DfvLevel6: true}
var supportedDfvs = map[int]bool{DfvLevel1: true, DfvLevel4: true, DfvLevel6: true, DfvLevel8: true}

// Connector default values.
const (
DefaultDfv = DfvLevel6 // Default data version format level.
DefaultDfv = DfvLevel8 // Default data version format level.
DefaultTimeout = 300 * time.Second // Default value connection timeout (300 seconds = 5 minutes).
DefaultTCPKeepAlive = 15 * time.Second // Default TCP keep-alive value (copied from net.dial.go)
DefaultBufferSize = 16276 // Default value bufferSize.
Expand Down
Loading

0 comments on commit e538997

Please sign in to comment.