dbeaver / dbeaver/dbeaver

DBeaver executes query above

Open
#7,204 6 comments 0 reactions 0 assignees View on GitHub
enhancement xf:sql
Dominant language
Java
Stars
51.8k
Forks
4.4k
Avg merge
3d 13h
Merged PRs (30d)
183

Description

Please consider following situation:

> TRUNCATE public.mytable;
>

When cursor is placed as in example above, and no text is selected at the same time, executing SQL Statement will execute TRUNCATE query.

IMO no query should be executed in this case. Current behaviour is very dangerous

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.