Skip to content

Commit 058d4eb

Browse files
committed
Merge branch 'hotfix/v0.6.2'
2 parents 441666a + c158c52 commit 058d4eb

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## v0.6.2 - 15 Feb 2015
4+
5+
- Fixed `writeQuery` being too small when sending large queries
6+
37
## v0.6.1 - 13 Feb 2015
48

59
- Reduce GC by using buffers when reading and writing

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
[Go](http://golang.org/) driver for [RethinkDB](http://www.rethinkdb.com/)
88

99

10-
Current version: v0.6.1 (RethinkDB v1.16)
10+
Current version: v0.6.2 (RethinkDB v1.16)
1111

1212
**Version 0.6 introduced some small API changes and some significant internal changes, for more information check the [change log](CHANGELOG.md) and please be aware the driver is not yet stable**
1313

connection_helper.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,11 @@ func (c *Connection) readHandshakeSuccess() error {
6767
return nil
6868
}
6969

70-
func (c *Connection) writeQuery(token int64, q []byte) error {
70+
func (c *Connection)(token int64, q []byte) error {
7171
pos := 0
7272
dataLen := 8 + 4 + len(q)
7373

74-
data := c.buf.takeSmallBuffer(dataLen)
74+
data := c.buf.takeBuffer(dataLen)
7575
if data == nil {
7676
return RqlDriverError{ErrBusyBuffer.Error()}
7777
}

doc.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Go driver for RethinkDB
22
//
3-
// Current version: v0.6.1 (RethinkDB v1.16)
3+
// Current version: v0.6.2 (RethinkDB v1.16)
44
// For more in depth information on how to use RethinkDB check out the API docs
55
// at http://rethinkdb.com/api
66
package gorethink

0 commit comments

Comments
 (0)