UI: StatSql: Fix sqlDeleteConnBlockApps

This commit is contained in:
Nodir Temirkhodjaev 2024-08-05 11:55:50 +05:00
parent a9cb9db1db
commit 0454c89697

View File

@ -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::sqlDeleteConnBlock = "DELETE FROM conn_block WHERE conn_id <= ?1;";
const char *const StatSql::sqlDeleteConnBlockApps = const char *const StatSql::sqlDeleteConnBlockApps =
"DELETE FROM app t" "DELETE FROM app as t"
" WHERE (" " WHERE ("
" SELECT 1 FROM conn_block c WHERE c.app_id = t.app_id LIMIT 1" " SELECT 1 FROM conn_block c WHERE c.app_id = t.app_id LIMIT 1"
" ) IS NULL;"; " ) IS NULL;";