DropDatabase implements sql.MutableDatabaseProvider.
(ctx *sql.Context, name string)
| 499 | } |
| 500 | |
| 501 | switch schemaName { |
| 502 | case "information_schema", "pg_catalog", "__sys__", "mysql": |
| 503 | continue |
| 504 | } |
| 505 | |
| 506 | all = append(all, NewDatabase(schemaName, catalogName)) |
| 507 | } |
| 508 | |
| 509 | sort.Slice(all, func(i, j int) bool { |
| 510 | return all[i].Name() < all[j].Name() |
| 511 | }) |
| 512 | |
| 513 | return all |
| 514 | } |
| 515 |
nothing calls this directly
no test coverage detected