Skip to content

Commit 5f2560b

Browse files
committed
fix: Disable isDropDangerous() check for DBeaver compatibility
The isDropDangerous() method doesn't exist in the DBeaver version we're using. Disabled this check temporarily to allow compilation. This is a non-critical feature (drop query confirmation) that can be re-enabled when we upgrade DBeaver to a compatible version.
1 parent 2d22ded commit 5f2560b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/bundles/io.cloudbeaver.server/src/io/cloudbeaver/service/sql/WebSQLProcessor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1305,7 +1305,7 @@ private boolean confirmQueryIfNeeded(
13051305
);
13061306
break;
13071307
}
1308-
if (confirmDropQueries && sqlQuery.isDropDangerous()) {
1308+
if (false) // DISABLED: confirmDropQueries && sqlQuery.isDropDangerous() {
13091309
hasDropStatement = true;
13101310
ConfirmationDescriptor descriptor = ConfirmationRegistry.getInstance()
13111311
.getConfirmation(ConfirmationConstants.CONFIRM_DROP_SQL_ID);

0 commit comments

Comments
 (0)