Skip to content

Commit

Permalink
Fix some compilation warnings due to updated GCC
Browse files Browse the repository at this point in the history
Signed-off-by: Shard Gupta <[email protected]>
  • Loading branch information
shardgupta committed Mar 3, 2025
1 parent 19fc450 commit 225dd78
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions contrib/babelfishpg_tsql/runtime/functions.c
Original file line number Diff line number Diff line change
Expand Up @@ -2628,13 +2628,13 @@ type_id(PG_FUNCTION_ARGS)
if (i > SYSVARCHAR_MAX_LENGTH)
ereport(ERROR,
(errcode(ERRCODE_STRING_DATA_LENGTH_MISMATCH),
errmsg("input value is too long for object name")));
errmsg("input value is too long for object name")));

/*
/*
* Split the input string, downcase and truncate if needed
* and return the db_name, schema_name and object_name.
*/
downcase_truncate_split_object_name(input, NULL, &db_name, &schema_name, &object_name);
downcase_truncate_split_object_name(input, NULL, &db_name, &schema_name, &object_name);

pfree(input);

Expand Down

0 comments on commit 225dd78

Please sign in to comment.