You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by fr...@apache.org on 2018/04/20 05:31:42 UTC
[1/2] calcite-avatica-go git commit: Replace gopher.png with calcite
logo
Repository: calcite-avatica-go
Updated Branches:
refs/heads/remove-gopher-png [created] 7156d8219
Replace gopher.png with calcite logo
Project: http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/repo
Commit: http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/commit/4fcb1312
Tree: http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/tree/4fcb1312
Diff: http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/diff/4fcb1312
Branch: refs/heads/remove-gopher-png
Commit: 4fcb13121fc614a60897f9a5743aad3a54b4c31b
Parents: ee3c982
Author: Francis Chuang <fr...@apache.org>
Authored: Fri Apr 20 15:30:43 2018 +1000
Committer: Francis Chuang <fr...@apache.org>
Committed: Fri Apr 20 15:30:43 2018 +1000
----------------------------------------------------------------------
driver_hsqldb_test.go | 4 +---
driver_phoenix_test.go | 4 +---
test-fixtures/calcite.png | Bin 0 -> 69304 bytes
test-fixtures/gopher.png | Bin 114063 -> 0 bytes
4 files changed, 2 insertions(+), 6 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/blob/4fcb1312/driver_hsqldb_test.go
----------------------------------------------------------------------
diff --git a/driver_hsqldb_test.go b/driver_hsqldb_test.go
index 7597cd2..a926850 100644
--- a/driver_hsqldb_test.go
+++ b/driver_hsqldb_test.go
@@ -425,7 +425,7 @@ func TestHSQLDBStoreAndRetrieveBinaryData(t *testing.T) {
bin VARBINARY(999999)
)`)
- filePath := filepath.Join("test-fixtures", "gopher.png")
+ filePath := filepath.Join("test-fixtures", "calcite.png")
file, err := ioutil.ReadFile(filePath)
@@ -454,8 +454,6 @@ func TestHSQLDBStoreAndRetrieveBinaryData(t *testing.T) {
}
}
- ioutil.WriteFile("test-fixtures/gopher.png", receivedFile, os.ModePerm)
-
receivedHash := sha256.Sum256(receivedFile)
if !bytes.Equal(hash[:], receivedHash[:]) {
http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/blob/4fcb1312/driver_phoenix_test.go
----------------------------------------------------------------------
diff --git a/driver_phoenix_test.go b/driver_phoenix_test.go
index b33830b..6d77b6a 100644
--- a/driver_phoenix_test.go
+++ b/driver_phoenix_test.go
@@ -439,7 +439,7 @@ func TestPhoenixStoreAndRetrieveBinaryData(t *testing.T) {
bin VARBINARY
) TRANSACTIONAL=false`)
- filePath := filepath.Join("test-fixtures", "gopher.png")
+ filePath := filepath.Join("test-fixtures", "calcite.png")
file, err := ioutil.ReadFile(filePath)
@@ -468,8 +468,6 @@ func TestPhoenixStoreAndRetrieveBinaryData(t *testing.T) {
}
}
- ioutil.WriteFile("test-fixtures/gopher.png", receivedFile, os.ModePerm)
-
receivedHash := sha256.Sum256(receivedFile)
if !bytes.Equal(hash[:], receivedHash[:]) {
http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/blob/4fcb1312/test-fixtures/calcite.png
----------------------------------------------------------------------
diff --git a/test-fixtures/calcite.png b/test-fixtures/calcite.png
new file mode 100644
index 0000000..b883465
Binary files /dev/null and b/test-fixtures/calcite.png differ
http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/blob/4fcb1312/test-fixtures/gopher.png
----------------------------------------------------------------------
diff --git a/test-fixtures/gopher.png b/test-fixtures/gopher.png
deleted file mode 100644
index 26b9893..0000000
Binary files a/test-fixtures/gopher.png and /dev/null differ
[2/2] calcite-avatica-go git commit: Enable HSQLDB transaction tests
Posted by fr...@apache.org.
Enable HSQLDB transaction tests
Project: http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/repo
Commit: http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/commit/7156d821
Tree: http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/tree/7156d821
Diff: http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/diff/7156d821
Branch: refs/heads/remove-gopher-png
Commit: 7156d8219644c5740aad59984f150b4f47f189e0
Parents: 4fcb131
Author: Francis Chuang <fr...@apache.org>
Authored: Fri Apr 20 15:31:15 2018 +1000
Committer: Francis Chuang <fr...@apache.org>
Committed: Fri Apr 20 15:31:15 2018 +1000
----------------------------------------------------------------------
driver_hsqldb_test.go | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/calcite-avatica-go/blob/7156d821/driver_hsqldb_test.go
----------------------------------------------------------------------
diff --git a/driver_hsqldb_test.go b/driver_hsqldb_test.go
index a926850..539a80f 100644
--- a/driver_hsqldb_test.go
+++ b/driver_hsqldb_test.go
@@ -462,7 +462,7 @@ func TestHSQLDBStoreAndRetrieveBinaryData(t *testing.T) {
})
}
-/*func TestHSQLDBCommittingTransactions(t *testing.T) {
+func TestHSQLDBCommittingTransactions(t *testing.T) {
skipTestIfNotHSQLDB(t)
@@ -600,7 +600,7 @@ func TestHSQLDBRollingBackTransactions(t *testing.T) {
t.Fatalf("Expected %d rows, got %d", 0, countAfterRollback)
}
})
-}*/
+}
func TestHSQLDBPreparedStatements(t *testing.T) {