You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.
I checked other database like MySQL. It doesn't allow EXPLAIN on metadata queries such as SHOW/DESCRIBE. In our case, I think EXPLAIN should only work with queries and disabled for other statements from both frontend and backend.
mysql> DESCRIBE accounts;
+-------+------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+-------+------+------+-----+---------+-------+
| age | int | YES | | NULL | |
+-------+------+------+-----+---------+-------+
1 row in set (0.00 sec)
mysql> EXPLAIN DESCRIBE accounts;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'DESCRIBE accounts' at line 1
Input an invalid query - example:
SHOW tables LIKE 1;
Then click the 'Explain' button you get a strange, empty UI modal:
I would expect an error message, not an empty box. I assume this is related #586 .
The text was updated successfully, but these errors were encountered: