Skip to content

Commit 89ef46f

Browse files
committed
Fix #8933 - Isql SHOW PROCEDURE/FUNCTION doesn't show NOT NULL status for parameters
1 parent d02e7d7 commit 89ef46f

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

src/isql/show.epp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4408,6 +4408,9 @@ static processing_state show_func(const QualifiedMetaString& name)
44084408
show_charsets(charset, collation);
44094409
}
44104410

4411+
if (!ARG.RDB$NULL_FLAG.NULL && ARG.RDB$NULL_FLAG)
4412+
isqlGlob.printf(" NOT NULL");
4413+
44114414
if (ARG.RDB$ARGUMENT_POSITION != FUN.RDB$RETURN_ARGUMENT) // input, try to show default and make Vlad happy.
44124415
{
44134416
if (!prm_default_source_null)
@@ -5316,6 +5319,9 @@ static processing_state show_proc(const std::optional<QualifiedMetaString>& name
53165319
show_charsets(charset, collation);
53175320
}
53185321

5322+
if (!PRM.RDB$NULL_FLAG.NULL && PRM.RDB$NULL_FLAG)
5323+
isqlGlob.printf(" NOT NULL");
5324+
53195325
if (PRM.RDB$PARAMETER_TYPE == 0) // input, try to show default and make Vlad happy.
53205326
{
53215327
if (!prm_default_source_null)

0 commit comments

Comments
 (0)