MySQL and MariaDB require a ';' to close a describe statement

This commit is contained in:
Éibhear Ó hAnluain 2019-06-13 12:16:00 +01:00
parent b4ad99a0d7
commit dbaed7a4a9

View file

@ -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))
)