[Rpm-maint] [rpm-software-management/rpm] Disable implicit database creation on read-only handle (#1443)
notifications at github.com
Wed Nov 18 12:14:07 UTC 2020
If somebody is opening a database in a read-only mode (eg for query then we really have no business to *create* such database if not existing.
This implicit discard of read-only flag is such a long standing behavior that this is likely to break stuff here and there.
You can view, comment on, or merge this pull request online at:
-- Commit Summary --
* Stop on first failure when trying to open a database (RhBug:1898301)
* Disable implicit database creation on read-only handle
-- File Changes --
M lib/backend/db3.c (5)
M lib/backend/ndb/glue.c (2)
M lib/backend/sqlite.c (6)
M lib/rpmdb.c (2)
M tests/local.at (2)
M tests/rpmdb.at (13)
M tests/rpmpython.at (4)
-- Patch Links --
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Rpm-maint