Skip to content

Commit

Permalink
fix: add ddl support and change tests to run ddl from driver
Browse files Browse the repository at this point in the history
  • Loading branch information
sagebee committed Feb 2, 2021
1 parent 7a4a532 commit 259f98b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ func CreateAdminClient(ctx context.Context) (*adminapi.DatabaseAdminClient, erro
var adminClient *adminapi.DatabaseAdminClient
var err error

// Admin client will connect tp emulator if SPANNER_EMULATOR_HOST
// Admin client will connect to emulator if SPANNER_EMULATOR_HOST
// is set in the environment.
if spannerHost, ok := os.LookupEnv("SPANNER_EMULATOR_HOST"); ok {
adminClient, err = adminapi.NewDatabaseAdminClient(
Expand Down
2 changes: 1 addition & 1 deletion driver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ func init() {
// Executes DML using the client library.
func ExecuteDMLClientLib(dml []string) error {

// Open client/
// Open client
ctx := context.Background()
client, err := spanner.NewClient(ctx, dsn)
if err != nil {
Expand Down

0 comments on commit 259f98b

Please sign in to comment.