vitess-gh/go/sqldb
Shengzhe Yao defc9d9398 add sqldb.Conn interface for low level db connection
1. add sqldb.Conn and move mysql.ConnectionParams to sqldb package.
2. change mysql.Connect function to return sqldb.Conn.
3. update places using *mysql.Connection to sqldb.Conn.
4. update places using *mysql.ConnectionParams to *sqldb.ConnParams.
5. changes places that use mysql.Connect to sqldb.Get().
6. Some randome go style fix (suggested by golint).
7. define package level variable DefaultDB in sqldb.
8. go/mysql will register its Connect func in init function.
2015-03-24 15:31:11 -07:00
..
conn.go add sqldb.Conn interface for low level db connection 2015-03-24 15:31:11 -07:00
conn_params.go add sqldb.Conn interface for low level db connection 2015-03-24 15:31:11 -07:00
sql_error.go add sqldb.Conn interface for low level db connection 2015-03-24 15:31:11 -07:00