Skip to content

Commit

Permalink
Merge pull request cockroachdb#1796 from cockroachdb/pmattis/delete-c…
Browse files Browse the repository at this point in the history
…lient-table

Delete the experimental table-based client interface.
  • Loading branch information
petermattis committed Jul 24, 2015
2 parents f18bad5 + 3c0b4f6 commit 4e09492
Show file tree
Hide file tree
Showing 8 changed files with 0 additions and 1,756 deletions.
5 changes: 0 additions & 5 deletions client/db.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ import (
"fmt"
"math/rand"
"net/url"
"reflect"
"strconv"
"time"

Expand Down Expand Up @@ -156,10 +155,6 @@ type DB struct {
// ignored.
userPriority int32
txnRetryOptions retry.Options

// TODO(pmattis): Need locking here, but this struct is copied by value into
// Txn. Probably need to separate out the fields above.
experimentalModels map[reflect.Type]*model
}

// Option is the signature for a function which applies an option to a DB.
Expand Down
8 changes: 0 additions & 8 deletions client/db_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -323,15 +323,7 @@ func TestCommonMethods(t *testing.T) {
key{batchType, "InternalAddCall"}: {},
key{dbType, "AdminMerge"}: {},
key{dbType, "AdminSplit"}: {},
key{dbType, "BindModel"}: {},
key{dbType, "CreateNamespace"}: {},
key{dbType, "CreateTable"}: {},
key{dbType, "DeleteTable"}: {},
key{dbType, "DescribeTable"}: {},
key{dbType, "ListNamespaces"}: {},
key{dbType, "ListTables"}: {},
key{dbType, "NewBatch"}: {},
key{dbType, "RenameTable"}: {},
key{dbType, "Run"}: {},
key{dbType, "Txn"}: {},
key{txnType, "Commit"}: {},
Expand Down
128 changes: 0 additions & 128 deletions client/reflect.go

This file was deleted.

160 changes: 0 additions & 160 deletions client/reflect_test.go

This file was deleted.

Loading

0 comments on commit 4e09492

Please sign in to comment.