Skip to content

Commit

Permalink
Minor fix: call to GetShardList
Browse files Browse the repository at this point in the history
  • Loading branch information
Anand Henry committed Jul 28, 2014
1 parent 3712671 commit caa9303
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions go/vt/client2/sharded.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ import (
mproto "github.com/youtube/vitess/go/mysql/proto"
"github.com/youtube/vitess/go/vt/client2/tablet"
"github.com/youtube/vitess/go/vt/key"
"github.com/youtube/vitess/go/vt/sqlparser"
"github.com/youtube/vitess/go/vt/topo"
"github.com/youtube/vitess/go/vt/vtgate"
"github.com/youtube/vitess/go/vt/zktopo"
"github.com/youtube/vitess/go/zk"
)
Expand Down Expand Up @@ -233,7 +233,7 @@ func (sc *ShardedConn) Exec(query string, bindVars map[string]interface{}) (db.R
if sc.srvKeyspace == nil {
return nil, ErrNotConnected
}
shards, err := sqlparser.GetShardList(query, bindVars, sc.shardMaxKeys)
shards, err := vtgate.GetShardList(query, bindVars, sc.shardMaxKeys)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit caa9303

Please sign in to comment.