Skip to content

Commit

Permalink
Fix build failures
Browse files Browse the repository at this point in the history
Signed-off-by: Shameem Ahmed <[email protected]>
  • Loading branch information
ahmed-shameem committed Jan 10, 2025
1 parent 3d798e9 commit fdefc5f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contrib/babelfishpg_tsql/src/pltsql_ruleutils.c
Original file line number Diff line number Diff line change
Expand Up @@ -1436,12 +1436,12 @@ get_rule_expr(Node *node, deparse_context *context,

const char *dump_restore = GetConfigOption("babelfishpg_tsql.dump_restore", true, false);

if (!PRETTY_PAREN(context) && (!dump_retore || (dump_restore && strcmp(dump_restore, "on") != 0)))
if (!PRETTY_PAREN(context) && (!dump_restore || (dump_restore && strcmp(dump_restore, "on") != 0)))
appendStringInfoChar(buf, '(');
get_rule_expr_paren(arg, context, showimplicit, node);
appendStringInfo(buf, " COLLATE %s",
generate_tsql_collation_name(collate->collOid));
if (!PRETTY_PAREN(context) && (!dump_retore || (dump_restore && strcmp(dump_restore, "on") != 0)))
if (!PRETTY_PAREN(context) && (!dump_restore || (dump_restore && strcmp(dump_restore, "on") != 0)))
appendStringInfoChar(buf, ')');
}
break;
Expand Down

0 comments on commit fdefc5f

Please sign in to comment.