Add DB closed recommendation to docs for Database.close

Description

As long as a database is open, it is possible that one or more of its files will be in use (this is especially on the Windows platform).  This will cause the copy to fail with a : "Device or resource busy"

The inline documentation for the Database.copy method should recommend that the source database be closed before a call.

The Web documentation uses the method in the single case of copying a pre-packaged db.  Pre-packaged DBs are probably never open, so the web doc does not need updating.

Activity

Show:

Daniel Petersen May 10, 2022 at 5:45 PM

, are you talking javadocs or the "regular" documentation? For non-code sourced documentation we need to file a DOC ticket.

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Story Points

Fix versions

Affects versions

Priority

Instabug

Open Instabug

PagerDuty

Sentry

Zendesk Support

Created May 10, 2022 at 5:40 PM
Updated May 11, 2022 at 10:45 PM
Resolved May 11, 2022 at 10:44 PM
Instabug