Skip to content

Commit 7b6204c

Browse files
authored
Huebnerr fix copyrights and docs (#69)
* update version to 0.1.7 * update version to 0.2.0
1 parent 59e1a0a commit 7b6204c

25 files changed

+268
-35
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -403,5 +403,9 @@ You can run a benchmark and profile it with a command like:
403403
and then explore it with `go tool pprof`. The `-run` part excludes the tests for brevity.
404404

405405
## Acknowledgements
406-
407-
We would like to thank the creators and contributors of the vertica-python library, and members of the Vertica team, for their help in understanding the wire protocol.
406+
* @grzm (Github)
407+
* @watercraft (Github)
408+
* @fbernier (Github)
409+
* @mlh758 (Github) for the awesome work filling in and enhancing the driver in many important ways.
410+
* Tom Wall (Vertica) for the infinite patience and deep knowledge.
411+
* The creators and contributors of the vertica-python library, and members of the Vertica team, for their help in understanding the wire protocol.

driver.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ type Driver struct{}
4646

4747
const (
4848
driverName string = "vertica-sql-go"
49-
driverVersion string = "0.1.7"
49+
driverVersion string = "0.2.0"
5050
protocolVersion uint32 = 0x00030008
5151
)
5252

driver_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package vertigo
22

3-
// Copyright (c) 2019 Micro Focus or one of its affiliates.
3+
// Copyright (c) 2019-2020 Micro Focus or one of its affiliates.
44
//
55
// Licensed under the Apache License, Version 2.0 (the "License");
66
// you may not use this file except in compliance with the License.

logger_test.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package vertigo
22

3-
// Copyright (c) 2019 Micro Focus or one of its affiliates.
3+
// Copyright (c) 2019-2020 Micro Focus or one of its affiliates.
44
//
55
// Licensed under the Apache License, Version 2.0 (the "License");
66
// you may not use this file except in compliance with the License.
@@ -40,12 +40,13 @@ import (
4040

4141
type LogMessage struct {
4242
Prefix string
43-
Name string
44-
Msg string
43+
Name string
44+
Msg string
4545
}
4646
type MyLogger struct {
4747
LastMessage *LogMessage
4848
}
49+
4950
func (l *MyLogger) Write(prefix string, name string, msg string) {
5051
l.LastMessage = &LogMessage{Prefix: prefix, Name: name, Msg: msg}
5152
}

msgs/bedatarowmsg_test.go

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,37 @@
11
package msgs
22

3+
// Copyright (c) 2020 Micro Focus or one of its affiliates.
4+
//
5+
// Licensed under the Apache License, Version 2.0 (the "License");
6+
// you may not use this file except in compliance with the License.
7+
// You may obtain a copy of the License at
8+
//
9+
// http://www.apache.org/licenses/LICENSE-2.0
10+
//
11+
// Unless required by applicable law or agreed to in writing, software
12+
// distributed under the License is distributed on an "AS IS" BASIS,
13+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
// See the License for the specific language governing permissions and
15+
// limitations under the License.
16+
//
17+
// Permission is hereby granted, free of charge, to any person obtaining a copy
18+
// of this software and associated documentation files (the "Software"), to deal
19+
// in the Software without restriction, including without limitation the rights
20+
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
21+
// copies of the Software, and to permit persons to whom the Software is
22+
// furnished to do so, subject to the following conditions:
23+
//
24+
// The above copyright notice and this permission notice shall be included in
25+
// all copies or substantial portions of the Software.
26+
//
27+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
28+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
29+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
30+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
31+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
32+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
33+
// THE SOFTWARE.
34+
335
import (
436
"bytes"
537
"encoding/binary"

msgs/beinitstdinloadmsg.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
package msgs
22

3-
import "fmt"
4-
53
// Copyright (c) 2019 Micro Focus or one of its affiliates.
64
//
75
// Licensed under the Apache License, Version 2.0 (the "License");
@@ -34,6 +32,8 @@ import "fmt"
3432
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
3533
// THE SOFTWARE.
3634

35+
import "fmt"
36+
3737
// BEInitSTDINLoadMsg docs
3838
type BEInitSTDINLoadMsg struct {
3939
IsBinary bool

msgs/febindmsg.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
package msgs
22

3-
// Copyright (c) 2019 Micro Focus or one of its affiliates.
3+
// Copyright (c) 2019-2020 Micro Focus or one of its affiliates.
44
//
55
// Licensed under the Apache License, Version 2.0 (the "License");
66
// you may not use this file except in compliance with the License.

msgs/feclosemsg.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
package msgs
22

3-
import "fmt"
4-
53
// Copyright (c) 2019 Micro Focus or one of its affiliates.
64
//
75
// Licensed under the Apache License, Version 2.0 (the "License");
@@ -34,6 +32,8 @@ import "fmt"
3432
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
3533
// THE SOFTWARE.
3634

35+
import "fmt"
36+
3737
type FECloseMsg struct {
3838
TargetType CmdTargetType
3939
TargetName string

msgs/fedescribemsg.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
package msgs
22

3-
import "fmt"
4-
53
// Copyright (c) 2019 Micro Focus or one of its affiliates.
64
//
75
// Licensed under the Apache License, Version 2.0 (the "License");
@@ -34,6 +32,8 @@ import "fmt"
3432
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
3533
// THE SOFTWARE.
3634

35+
import "fmt"
36+
3737
// FEDescribeMsg docs
3838
type FEDescribeMsg struct {
3939
TargetType CmdTargetType

msgs/feexecutemsg.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
package msgs
22

3-
import "fmt"
4-
53
// Copyright (c) 2019 Micro Focus or one of its affiliates.
64
//
75
// Licensed under the Apache License, Version 2.0 (the "License");
@@ -34,6 +32,8 @@ import "fmt"
3432
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
3533
// THE SOFTWARE.
3634

35+
import "fmt"
36+
3737
// FEExecuteMsg docs
3838
type FEExecuteMsg struct {
3939
Portal string

0 commit comments

Comments
 (0)