MySQL and MariaDB require a ';' to close a describe
statement
This commit is contained in:
parent
b4ad99a0d7
commit
dbaed7a4a9
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@
|
|||
(goto-char (point-max))
|
||||
(goto-char (re-search-backward "^-- Table: .+"))
|
||||
(insert (format "-- Table: %s\n\n" table-name))
|
||||
(insert (format "desc %s\n\n" table-name))
|
||||
(insert (format "desc %s;\n\n" table-name))
|
||||
(insert (format "select count(*) %s\nfrom %s;\n\n"
|
||||
table-name table-name))
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue