[Rpm-maint] [rpm-software-management/rpm] rpm 4.16.90 breaks perl-RPM4's testsuite (actually it's the sqlite backend) (#1693)

Panu Matilainen notifications at github.com
Thu Jun 10 11:52:40 UTC 2021


JUSTDB does not affect database operations in any way, it's the everything else that it affects.

The header gets added to the database just fine, the problem appears to be in the iteration side. I don't know what the purpose of this condition in  Ts_traverse() is but commenting out makes the transaction tests pass:

```
                if (tag == RPMDBI_PACKAGES && value != NULL) {
                    rc = 0;
                } else if (count == 1) {
                    rc = POPi;
                }

```

Not saying commenting it out is the right thing to do, if this works with bdb then it suggests we have a subtle behavior difference somewhere, and we need to understand the case better.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/issues/1693#issuecomment-858555250
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20210610/a50acefe/attachment-0001.html>


More information about the Rpm-maint mailing list