mirror of
https://github.com/dolthub/dolt.git
synced 2026-02-11 18:49:14 -06:00
fix
This commit is contained in:
@@ -215,7 +215,6 @@ func newSessionBuilder(sqlEngine *sqle.Engine, username, email string, autocommi
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
func dbsAsDSQLDBs(dbs []sql.Database) []dsqle.Database {
|
||||
dsqlDBs := make([]dsqle.Database, 0, len(dbs))
|
||||
|
||||
|
||||
@@ -82,6 +82,6 @@ require (
|
||||
|
||||
replace github.com/dolthub/dolt/go/gen/proto/dolt/services/eventsapi => ./gen/proto/dolt/services/eventsapi
|
||||
|
||||
replace github.com/dolthub/go-mysql-server => ../../go-mysql-server
|
||||
//replace github.com/dolthub/go-mysql-server => ../../go-mysql-server
|
||||
|
||||
go 1.15
|
||||
|
||||
@@ -1,12 +1,9 @@
|
||||
|
||||
|
||||
package sqle
|
||||
|
||||
import (
|
||||
"github.com/dolthub/go-mysql-server/sql"
|
||||
)
|
||||
|
||||
|
||||
type DoltDatabaseProvider struct {
|
||||
databases map[string]sql.Database
|
||||
}
|
||||
@@ -51,5 +48,5 @@ func (p DoltDatabaseProvider) AddDatabase(db sql.Database) {
|
||||
}
|
||||
|
||||
func (p DoltDatabaseProvider) DropDatabase(name string) {
|
||||
delete(p.databases, name)
|
||||
delete(p.databases, name)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user