Skip to content

Commit

Permalink
Handle procedures with no return type when listing functions
Browse files Browse the repository at this point in the history
  • Loading branch information
nineinchnick committed Dec 13, 2022
1 parent 030c5c6 commit 8a99196
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/metadata/informationschema/metadata.go
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,7 @@ func (s InformationSchema) Functions(f metadata.Filter) (*metadata.FunctionSet,
"routine_schema",
"routine_name",
"COALESCE(routine_type, '')",
"data_type",
"COALESCE(data_type, '')",
"routine_definition",
"COALESCE(external_language, routine_body) AS language",
"is_deterministic",
Expand Down Expand Up @@ -447,7 +447,7 @@ func (s InformationSchema) FunctionColumns(f metadata.Filter) (*metadata.Functio
"COALESCE(parameter_name, '')",
"ordinal_position",
"COALESCE(parameter_mode, '')",
"data_type",
"COALESCE(data_type, '')",
s.clauses[FunctionColumnsColumnSize],
s.clauses[FunctionColumnsNumericScale],
s.clauses[FunctionColumnsNumericPrecRadix],
Expand Down

0 comments on commit 8a99196

Please sign in to comment.