Issue: Destructive query warning keywords are not configurable
Issue: Destructive query warning keywords are not configurable: a task in LegoFlow-SWE (Harbor dataset). The destructive query warning in mycli currently uses a hardcoded list of SQL keywords (DROP, SHUTDOWN, DELETE, TRUNCATE, ALTER) to decide whether to ask for confirmation before executing a…
The task
The destructive query warning in mycli currently uses a hardcoded list of SQL keywords (DROP, SHUTDOWN, DELETE, TRUNCATE, ALTER) to decide whether to ask for confirmation before executing a statement. Users in production environments often want to add other potentially dangerous commands—like INSERT, MODIFY, or…
Part of Lego-X/LegoFlow-SWE.