From 0454c8969749aec5a84fdacb9b5e4a8d5d4b3940 Mon Sep 17 00:00:00 2001 From: Nodir Temirkhodjaev Date: Mon, 5 Aug 2024 11:55:50 +0500 Subject: [PATCH] UI: StatSql: Fix sqlDeleteConnBlockApps --- src/ui/stat/statsql.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/stat/statsql.cpp b/src/ui/stat/statsql.cpp index ea11ca20..11e1958b 100644 --- a/src/ui/stat/statsql.cpp +++ b/src/ui/stat/statsql.cpp @@ -175,7 +175,7 @@ const char *const StatSql::sqlSelectMinMaxConnBlockId = const char *const StatSql::sqlDeleteConnBlock = "DELETE FROM conn_block WHERE conn_id <= ?1;"; const char *const StatSql::sqlDeleteConnBlockApps = - "DELETE FROM app t" + "DELETE FROM app as t" " WHERE (" " SELECT 1 FROM conn_block c WHERE c.app_id = t.app_id LIMIT 1" " ) IS NULL;";