From 869404d40b879d5a7551cf713feb0a4caed1a4e8 Mon Sep 17 00:00:00 2001 From: Morgan Tocker Date: Sun, 19 Aug 2018 09:06:01 -0600 Subject: [PATCH] job_id must not be quoted The correct syntax requires no quotes. --- sql/admin.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sql/admin.md b/sql/admin.md index bbe9ec6bcfb6f..7057bf69529ac 100644 --- a/sql/admin.md +++ b/sql/admin.md @@ -120,14 +120,14 @@ This statement is a TiDB extension syntax, used to view the status of TiDB. ```sql ADMIN SHOW DDL ADMIN SHOW DDL JOBS -ADMIN SHOW DDL JOB QUERIES 'job_id' [, 'job_id'] ... -ADMIN CANCEL DDL JOBS 'job_id' [, 'job_id'] ... +ADMIN SHOW DDL JOB QUERIES job_id [, job_id] ... +ADMIN CANCEL DDL JOBS job_id [, job_id] ... ``` - `ADMIN SHOW DDL`: To view the currently running DDL jobs. - `ADMIN SHOW DDL JOBS`: To view all the results in the current DDL job queue (including tasks that are running and waiting to be run) and the last ten results in the completed DDL job queue. -- `ADMIN SHOW DDL JOB QUERIES 'job_id' [, 'job_id'] ...`: To view the original SQL statement of the DDL task corresponding to the `job_id`; the `job_id` only searches the running DDL job and the last ten results in the DDL history job queue -- `ADMIN CANCEL DDL JOBS 'job_id' [, 'job_id'] ...`: To cancel the currently running DDL jobs and return whether the corresponding jobs are successfully cancelled. If the operation fails to cancel the jobs, specific reasons are displayed. +- `ADMIN SHOW DDL JOB QUERIES job_id [, job_id] ...`: To view the original SQL statement of the DDL task corresponding to the `job_id`; the `job_id` only searches the running DDL job and the last ten results in the DDL history job queue +- `ADMIN CANCEL DDL JOBS job_id [, job_id] ...`: To cancel the currently running DDL jobs and return whether the corresponding jobs are successfully cancelled. If the operation fails to cancel the jobs, specific reasons are displayed. > **Note**: >