Skip to content

Commit 7009c04

Browse files
committed
Minor updates to sqlexplain and docs
1 parent 894e5c4 commit 7009c04

File tree

6 files changed

+14
-12
lines changed

6 files changed

+14
-12
lines changed

docs/refman/sqlexplain.html

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/refman/sqlmonitor.html

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/refman/sqlreport.html

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/man2rwl/sqlexplain.2rwl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ Provide the format argument; the default is 'last, all, allstats'.
3131
.P
3232
.B --child-no=child#
3333
.RS 4
34-
When using the display_cursor function, provide this cursor_child_no, the default is 0.
34+
When using the display_cursor function, provide this cursor_child_no,
35+
the default is null implying all child cursors will be included.
3536
.RE
3637
.P
3738
.B --sessionid=sid
@@ -64,4 +65,4 @@ Copyright \(co 2024 Oracle Corporation
6465
Licensed under the Universal Permissive License v 1.0
6566
as shown at https://oss.oracle.com/licenses/upl
6667
.SH "SEE ALSO"
67-
rwloadsim(1rwl), sqlreport(2rwl), sqlmonitor(2rwl) sqlmonitorawr(2rwl), utilities(2rwl)
68+
rwloadsim(1rwl), sqlreport(2rwl), sqlmonitor(2rwl), sqlmonitorawr(2rwl), utilities(2rwl)

man/man2rwl/sqlreport.2rwl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,4 @@ Copyright \(co 2023 Oracle Corporation
5858
Licensed under the Universal Permissive License v 1.0
5959
as shown at https://oss.oracle.com/licenses/upl
6060
.SH "SEE ALSO"
61-
rwloadsim(1rwl), sqlmonitor(2rwl) sqlmonitorawr(2rwl), sqlexplain(2rwl), utilities(2rwl)
61+
rwloadsim(1rwl), sqlmonitor(2rwl), sqlmonitorawr(2rwl), sqlexplain(2rwl), utilities(2rwl)

public/sqlexplain.rwl

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
#
77
# History
88
#
9+
# bengsig 10-dec-2024 - default null for child_no
910
# bengsig 5-dec-2024 - Creation
1011
#
1112
# usage:
@@ -23,13 +24,13 @@ $endif
2324
$longoption:file-count=1
2425

2526
integer sessionid, instance;
26-
integer awr := 0, child_no := 0;
27+
integer awr := 0, child_no := null;
2728
string format := "last, all, allstats";
2829

2930
$userhelp:"Create a sql explain plan by calling dbms_xplan.display_cursor"
3031
$userhelp:"-l usr/pwd@con : required option to give database logon"
3132
$userhelp:"sqlid : if provided, use that sqlid"
32-
$useroption:child-no:"--child-no=child# : provide cursor_child_no, default 0"
33+
$useroption:child-no:"--child-no=child# : provide cursor_child_no, default null"
3334
$useroption:format:"--format='format text' : provide format, default 'last, all, allstats'"
3435
$useroption:sessionid:"--sesssionid=sid : query v$session for the sqlid"
3536
$useroption:instance:"--instance=inst# : query gv$session"

0 commit comments

Comments
 (0)