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

Commite6d56e5

Browse files
author
Alexandra Pervushina
committed
fix entry size
1 parentdbd9159 commite6d56e5

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
@@ -298,7 +298,7 @@ aqo_memsize(void)
298298
size=add_size(size,hash_estimate_size(fs_max_items,sizeof(QueryTextEntry)));
299299
size=add_size(size,hash_estimate_size(fss_max_items,sizeof(DataEntry)));
300300
size=add_size(size,hash_estimate_size(fs_max_items,sizeof(QueriesEntry)));
301-
size=add_size(size,hash_estimate_size(fss_max_items,sizeof(DataEntry*)));
301+
size=add_size(size,hash_estimate_size(fss_max_items,sizeof(NeighboursEntry)));
302302

303303
returnsize;
304304
}

‎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
<<<<<<<HEAD
17981798
=======
@@ -2365,8 +2365,8 @@ cleanup_aqo_database(bool gentle, int *fs_num, int *fss_num)
23652365
* We found element in Neibours hash table and made change:
23662366
* either delete element of table or replace its value.
23672367
*/
2368-
aqo_state->neighbours_changed= true;
23692368
}
2369+
aqo_state->neighbours_changed= true;
23702370
LWLockRelease(&aqo_state->neighbours_lock);
23712371
}
23722372

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp