Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd47702f

Browse files
Alexandra PervushinaAlena Rybakina
Alexandra Pervushina
authored and
Alena Rybakina
committed
fix entry size
1 parentc4dbd74 commitd47702f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

‎aqo_shared.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ aqo_memsize(void)
300300
size=add_size(size,hash_estimate_size(fs_max_items,sizeof(QueryTextEntry)));
301301
size=add_size(size,hash_estimate_size(fss_max_items,sizeof(DataEntry)));
302302
size=add_size(size,hash_estimate_size(fs_max_items,sizeof(QueriesEntry)));
303-
size=add_size(size,hash_estimate_size(fss_max_items,sizeof(DataEntry*)));
303+
size=add_size(size,hash_estimate_size(fss_max_items,sizeof(NeighboursEntry)));
304304

305305
returnsize;
306306
}

‎storage.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1791,8 +1791,8 @@ _aqo_data_clean(uint64 fs)
17911791
* We found element in Neibours hash table and made change:
17921792
* either delete element of table or replace its value.
17931793
*/
1794-
aqo_state->neighbours_changed= true;
17951794
}
1795+
aqo_state->neighbours_changed= true;
17961796
LWLockRelease(&aqo_state->neighbours_lock);
17971797

17981798

@@ -2362,8 +2362,8 @@ cleanup_aqo_database(bool gentle, int *fs_num, int *fss_num)
23622362
* We found element in Neibours hash table and made change:
23632363
* either delete element of table or replace its value.
23642364
*/
2365-
aqo_state->neighbours_changed= true;
23662365
}
2366+
aqo_state->neighbours_changed= true;
23672367
LWLockRelease(&aqo_state->neighbours_lock);
23682368
}
23692369

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp