Filed an issue about this. Basically, because we were using flag.Func we could not build dbbench on Go < 1.16 (as flag.Func was added in 1.16)
This was a quick fix-up (will likely need a review) that I was able to do some testing on 1.10 and 1.13. It appears it works fine on 1.13, but I'm getting a separate error for 1.10:
So with this PR, we can support Go versions 1.13+ (which includes the current 1.14 Go version on LTS Ubuntu for example) from my testing. May be able to get around the above error with some more research.
Would be smart to have someone else test this as well as I put it together pretty quickly. I ran it against a cluster (using the --url parameter which is the bulk of the changes here) and it performed as expected.
Filed an issue about this. Basically, because we were using flag.Func we could not build dbbench on Go < 1.16 (as flag.Func was added in 1.16)
This was a quick fix-up (will likely need a review) that I was able to do some testing on 1.10 and 1.13. It appears it works fine on 1.13, but I'm getting a separate error for 1.10:
So with this PR, we can support Go versions 1.13+ (which includes the current 1.14 Go version on LTS Ubuntu for example) from my testing. May be able to get around the above error with some more research.
Would be smart to have someone else test this as well as I put it together pretty quickly. I ran it against a cluster (using the --url parameter which is the bulk of the changes here) and it performed as expected.