This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
WORK=/var/folders/lf/1_qqs3815tzgkhtrbrjs913m0000gn/T/go-build623381608 | |
mkdir -p $WORK/github.com/cockroachdb/c-rocksdb/_obj/ | |
mkdir -p $WORK/github.com/cockroachdb/ | |
cd /Users/tamird/src/go/src/github.com/cockroachdb/c-rocksdb | |
CGO_LDFLAGS="-g" "-O2" /Users/tamird/src/go1.6/pkg/tool/darwin_amd64/cgo -objdir $WORK/github.com/cockroachdb/c-rocksdb/_obj/ -importpath github.com/cockroachdb/c-rocksdb -- -Iinternal -Iinternal/include -Iinternal/db -Iinternal/util -Iinternal/utilities/merge_operators/string_append -I../c-snappy/internal -I../c-lz4/internal/lib -DNDEBUG -DROCKSDB_PLATFORM_POSIX -DROCKSDB_LIB_IO_POSIX -DSNAPPY -DOS_MACOSX -I $WORK/github.com/cockroachdb/c-rocksdb/_obj/ cgo_flags.go | |
clang -I . -fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fno-common -Iinternal -Iinternal/include -Iinternal/db -Iinternal/util -Iinternal/utilities/merge_operators/string_append -I../c-snappy/internal -I../c-lz4/internal/lib -DNDEBUG -DROCKSDB_PLATFORM_POSIX -DROCKSDB_LIB_IO_POSIX -DSNAPPY |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/server/authentication_test.go b/server/authentication_test.go | |
index e863a5b..de33e05 100644 | |
--- a/server/authentication_test.go | |
+++ b/server/authentication_test.go | |
@@ -20,6 +20,7 @@ import ( | |
"bytes" | |
"fmt" | |
"io" | |
+ "net" | |
"net/http" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/base/context.go b/base/context.go | |
index 97a5b2c..0ed92d0 100644 | |
--- a/base/context.go | |
+++ b/base/context.go | |
@@ -174,7 +174,8 @@ func (ctx *Context) GetHTTPClient() (*http.Client, error) { | |
} | |
ctx.httpClient = &http.Client{ | |
Transport: &http.Transport{ | |
- TLSClientConfig: tlsConfig, | |
+ TLSClientConfig: tlsConfig, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/crypto/tls/conn.go b/src/crypto/tls/conn.go | |
index 0377568..c989cd2 100644 | |
--- a/src/crypto/tls/conn.go | |
+++ b/src/crypto/tls/conn.go | |
@@ -774,6 +774,9 @@ func (c *Conn) writeRecord(typ recordType, data []byte) (n int, err error) { | |
data = data[m:] | |
} | |
c.out.freeBlock(b) | |
+ if err != nil { | |
+ return err |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/crypto/tls/conn.go b/src/crypto/tls/conn.go | |
index 0377568..c989cd2 100644 | |
--- a/src/crypto/tls/conn.go | |
+++ b/src/crypto/tls/conn.go | |
@@ -774,6 +774,9 @@ func (c *Conn) writeRecord(typ recordType, data []byte) (n int, err error) { | |
data = data[m:] | |
} | |
c.out.freeBlock(b) | |
+ if err != nil { | |
+ return err |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
WARNING: DATA RACE | |
Read by goroutine 180: | |
runtime.slicecopy() | |
/Users/tamird/src/go1.5/src/runtime/slice.go:110 +0x0 | |
golang.org/x/net/http2.(*Framer).WriteData() | |
/Users/tamird/src/go/src/golang.org/x/net/http2/frame.go:576 +0x520 | |
golang.org/x/net/http2.(*writeData).writeFrame() | |
/Users/tamird/src/go/src/golang.org/x/net/http2/write.go:97 +0xc3 | |
golang.org/x/net/http2.(*serverConn).writeFrameAsync() | |
/Users/tamird/src/go/src/golang.org/x/net/http2/server.go:736 +0x8b |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
WARNING: DATA RACE | |
Write by goroutine 25: | |
bufio.(*Writer).flush() | |
/Users/tamird/src/go1.5/src/bufio/bufio.go:571 +0x3f0 | |
bufio.(*Writer).Flush() | |
/Users/tamird/src/go1.5/src/bufio/bufio.go:551 +0x3a | |
golang.org/x/net/http2.(*responseWriter).Flush() | |
/Users/tamird/src/go/src/golang.org/x/net/http2/server.go:2172 +0xf8 | |
google.golang.org/grpc/transport.(*serverHandlerTransport).Write() | |
/Users/tamird/src/go/src/google.golang.org/grpc/transport/handler_server.go:225 +0x12d |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env sh | |
set -eu | |
error_message() { | |
ret=$? | |
if [ $ret -ne 0 ]; then | |
echo "Something went wrong. Did you push your branch? Did you set a remote tracking branch?" | |
fi | |
exit $ret |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/sql/parser/builtins.go b/sql/parser/builtins.go | |
index e6c17ec..6c71db3 100644 | |
--- a/sql/parser/builtins.go | |
+++ b/sql/parser/builtins.go | |
@@ -547,9 +547,11 @@ var builtins = map[string][]builtin{ | |
}, | |
}, | |
- "statement_timestamp": {nowImpl}, | |
- "current_timestamp": {nowImpl}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env sh | |
set -eu | |
if [ $# == 0 ]; then | |
branch_name=$(git rev-parse --abbrev-ref HEAD) | |
remote_name=$(git config branch."$branch_name".remote) | |
github_forked_org_name=$(git config remote."$remote_name".url | sed -E -e 's,^(https://|git@)github.com[:/]([a-z]+)/[a-z]+(\.git)?,\2,') | |
github_origin_proj_url=$(git config remote.origin.url | sed -E -e 's,^(https://|git@)github.com[:/]([a-z]+/[a-z]+)(\.git)?,\2,') |