Skip to content

Commit

Permalink
Fixed do not change col_dtp if already set before (fixes #1124)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mitko Iliev authored and pkleef committed Apr 14, 2023
1 parent ec54f1c commit d02925b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libsrc/Wi/sqlgen.c
Original file line number Diff line number Diff line change
Expand Up @@ -1630,7 +1630,8 @@ sqlg_hash_source (sqlo_t * so, df_elt_t * tb_dfe, dk_set_t * pre_code)
}
else
{
hs->hs_ref_slots[nth]->ssl_sqt.sqt_col_dtp = ssl->ssl_sqt.sqt_col_dtp; /* hash filler col must have this set */
if (NULL == hs->hs_ref_slots[nth]->ssl_column) /* if there is a col col_dtp is set already and dc fill fn for it, do next otherwise */
hs->hs_ref_slots[nth]->ssl_sqt.sqt_col_dtp = ssl->ssl_sqt.sqt_col_dtp; /* hash filler col must have this set */
if (!tb_dfe->_.table.ot->ot_is_outer)
ssl_alias (ssl, hs->hs_ref_slots[nth]);
else
Expand Down

0 comments on commit d02925b

Please sign in to comment.