mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
Minor refactoring of btree_gist code.
The gbt_var_key_copy function was doing two different things depending on the boolean argument. Seems cleaner to have two separate functions. Remove unused argument from gbt_num_compress.
This commit is contained in:
@ -99,7 +99,7 @@ gbt_bit_l2n(GBT_VARKEY *leaf)
|
||||
|
||||
o = gbt_bit_xfrm(r.lower);
|
||||
r.upper = r.lower = o;
|
||||
out = gbt_var_key_copy(&r, TRUE);
|
||||
out = gbt_var_key_copy(&r);
|
||||
pfree(o);
|
||||
|
||||
return out;
|
||||
|
Reference in New Issue
Block a user