pmatilai commented on this pull request.
> @@ -584,11 +558,8 @@ static rpmRC sqlite_idxdbIter(dbiIndex dbi, dbiCursor
> dbc, const char *keyp, siz
dbc->key = sqlite3_column_blob(dbc->stmt, 0);
}
dbc->keylen = sqlite3_column_bytes(dbc->stmt, 0);
- if (set) {
- dbiCursor kc = dbiCursorInit(dbi, 0);
- rc = sqlite_idxdbByKey(dbi, kc, dbc->key, dbc->keylen, set);
- dbiCursorFree(dbi, kc);
- }
+ if (set)
+ rc = sqlite_idxdbByKey(dbi, dbc->subc, dbc->key, dbc->keylen, set);
What makes you think that? There's no need for braces for a single line.
--
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/pull/972#discussion_r355883040
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint