Dropping tables seems to be the default when dropping database fails (except CASCADE). See https://github.com/phpbb/phpbb3/blob/develop/tests/test_framework/phpbb_database_test_connection_manager.php#L189