Changeset: 5287ae5e604f for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/5287ae5e604f
Modified Files:
        clients/mapiclient/mhelp.c
Branch: default
Log Message:

Correct syntax for EXPLAIN statement


diffs (27 lines):

diff --git a/clients/mapiclient/mhelp.c b/clients/mapiclient/mhelp.c
--- a/clients/mapiclient/mhelp.c
+++ b/clients/mapiclient/mhelp.c
@@ -400,9 +400,11 @@ SQLhelp sqlhelp1[] = {
         "See also 
https://www.monetdb.org/documentation/user-guide/sql-manual/data-manipulation/prepare-statement/"},
        {"EXPLAIN",
         "Display logical or physical execution plan for an SQL statement.",
-        "EXPLAIN [BEFORE|AFTER] [step] [SHOW DETAILS] statement\n"
-        "EXPLAIN [ [BEFORE|AFTER] {LOGICAL UNNEST | LOGICAL REWRITE [posint] 
[posint] | LOGICAL PHYSICAL | PHYSICAL} ]\n"
-        "        [SHOW DETAILS] sql-statement",
+        "EXPLAIN sql-statement\n"
+        "EXPLAIN SHOW [ALL] DETAILS sql-statement\n"
+        "EXPLAIN [BEFORE|AFTER]\n"
+        "        {LOGICAL UNNEST | LOGICAL REWRITE [posint] [posint] | LOGICAL 
PHYSICAL | PHYSICAL}\n"
+        "        [SHOW [ALL] DETAILS] sql-statement",
         NULL,
         "Plain EXPLAIN sql-statement returns the logical plan.\n"
         "Use LOGICAL UNNEST or LOGICAL REWRITE or LOGICAL PHYSICAL or PHYSICAL 
to specify the compilation step to show.\n"
@@ -410,7 +412,7 @@ SQLhelp sqlhelp1[] = {
         "Two positive numbers can be passed to LOGICAL REWRITE to stop at 
specific\n"
         "rewriter index or rewrite loop cycle, respectively.\n"
         "If only one positive number is passed to LOGICAL REWRITE, rewrite 
stop cycle defaults to 0.\n"
-        "SHOW DETAILS displays column properties, rewriter number of changes 
and time spent.\n"
+        "SHOW DETAILS or SHOW ALL DETAILS displays column properties, rewriter 
number of changes and time spent.\n"
         "See also 
https://www.monetdb.org/documentation/admin-guide/debugging-features/explain-sql-stmt/"},
        {"EXTRACT",
         "Built-in function",
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to