I've used MemSQL with go-sql-driver/mysql. I tried to trace with ocsql, however below error occurred:
Error 1295: MemSQL does not support server-side prepared statements. Many client drivers support client-side prepared statements which work with MemSQL.
MemSQL requires client-side prepared statements. In golang, we can use with interpolateParams=true. With this parameter, the driver doesn't use Prepare() method.
I've used MemSQL with go-sql-driver/mysql. I tried to trace with
ocsql
, however below error occurred:MemSQL requires client-side prepared statements. In golang, we can use with
interpolateParams=true
. With this parameter, the driver doesn't usePrepare()
method.Queryer
is not implemented in the wrapped driver, so the driver executesdb.Prepare()
. (https://golang.org/src/database/sql/sql.go#L1561)