Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

as-cache: Use correct FTS value per result #268

Merged
merged 1 commit into from Apr 22, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
@@ -2079,7 +2079,7 @@ as_cache_update_results_with_fts_value (AsCache *cache, MDB_txn *txn, MDB_val dv
AsTokenType match_pval;

cpt_hash = data + i;
match_pval = (AsTokenType) *(data + AS_CACHE_CHECKSUM_LEN);
match_pval = (AsTokenType) *(data + i + AS_CACHE_CHECKSUM_LEN);

/* retrieve component with this hash */
cpt = g_hash_table_lookup (results_ht, cpt_hash);