vasiliy-mikhailov opened a new pull request, #38930: URL: https://github.com/apache/shardingsphere/pull/38930
`DatabaseMetaDataManager.dropSchema` reads `database.getSchema(schemaName).getAllTables()` **after** calling `database.dropSchema(schemaName)`. The schema is already gone at that point, so `getSchema(...)` returns `null` and `getAllTables()` throws a `NullPointerException`. Capture the schema reference before dropping it. Added a test asserting `dropSchema` does not throw after the schema is removed. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
