diff options
author | Mark Wielaard <mark@klomp.org> | 2021-08-28 20:25:56 +0200 |
---|---|---|
committer | Mark Wielaard <mark@klomp.org> | 2021-08-28 20:25:56 +0200 |
commit | 61554a292f753032490c349fedf47c4fb461e3ea (patch) | |
tree | d03aa2e37a8ee29b409124918f12180cec6b4f9d /doc/ChangeLog | |
parent | 17a9b1303e533c13aac6550844bdd68c669091bf (diff) | |
download | elfutils-61554a292f753032490c349fedf47c4fb461e3ea.tar.gz |
debuginfod: Turn -d ":memory:" into -d "file::memory:?cache=shared"
debuginfod opens the database twice, once in read/wrote and once in
read-only mode. This means the magic ":memory:" in-memory database
cannot be used as is because the two connections don't really share
the underlying database. Fix this by turning ":memory:" into
":file::memory:?cache=shared" which makes the in-memory database
shared. See https://sqlite.org/inmemorydb.html
Document this in debuginfod.8 and make some tests use -d :memory:
Signed-off-by: Mark Wielaard <mark@klomp.org>
Diffstat (limited to 'doc/ChangeLog')
-rw-r--r-- | doc/ChangeLog | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/ChangeLog b/doc/ChangeLog index d5f34f0f..ada48383 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -1,3 +1,7 @@ +2021-08-28 Di Chen <dichen@redhat.com> + + * debuginfod.8 (-d): Document ":memory:" as in-memory database. + 2021-08-20 Di Chen <dichen@redhat.com> * debuginfod.8: Add --forwarded-ttl-limit=NUM documentation. |