Skip to content

Commit 5103eed

Browse files
author
Artur Zakirov
committed
Fix error in CentOS 32bit
1 parent c5ba352 commit 5103eed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/pg_trgm/trgm_gist.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ gtrgm_distance(PG_FUNCTION_ARGS)
471471
*recheck = strategy == SubwordDistanceStrategyNumber;
472472
if (GIST_LEAF(entry))
473473
{ /* all leafs contains orig trgm */
474-
res = 1.0 - cnt_sml(qtrg, key, *recheck);
474+
res = 1.0 - cnt_sml(qtrg, key, *recheck) - 0.000001;
475475
}
476476
else if (ISALLTRUE(key))
477477
{ /* all leafs contains orig trgm */

0 commit comments

Comments
 (0)