зеркало из https://github.com/github/vitess-gh.git
defc9d9398
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. |
||
---|---|---|
.. | ||
conn.go | ||
conn_params.go | ||
sql_error.go |