Explorar o código

Merge pull request #158 from miguelvps/stream_unavailable

Remove check for available streams
Phillip Couto %!s(int64=12) %!d(string=hai) anos
pai
achega
cc7c55bb35
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      conn.go

+ 1 - 1
conn.go

@@ -423,7 +423,7 @@ func (c *Conn) executeQuery(qry *Query) *Iter {
 }
 
 func (c *Conn) Pick(qry *Query) *Conn {
-	if c.Closed() || len(c.uniq) == 0 {
+	if c.Closed() {
 		return nil
 	}
 	return c