Join GitHub today
net: ResolveTCPAddr used to accept net == ""; now doesn't #4476
The github.com/ziutek/mymysql driver calls net.ResolveTCPAddr with an empty string for the network. In Go 1.0, that worked. In Go tip, that returns net.UnkownNetworkError("") I just wasted time debugging this when I recompiled Camlistore, which happens to use ziutek/mymysql. I didn't get a nice UnkownNetworkError, either, since it had been eaten by other errors. For Go 1 compatibility reasons, should we special-case "" in ResolveTCPAddr to mean "tcp"? I would like to.
This issue was closed.