有没有什么好的方法可以在finagle-mysql
中设置connection-init-sql?
像SET SESSION sql_mode='...'
。
我想我们需要自定义
https://github.com/twitter/finagle/tree/develop/finagle-mysql
I know HikariCP support it, but finagle-mysql connection pool seems not have such api.
I'm wondering we need customize ClientDispatcher.connPhase...?