mirror of
https://github.com/tnodir/fort
synced 2024-11-15 07:45:22 +00:00
UI: StatSql: Fix sqlDeleteConnBlockApps
This commit is contained in:
parent
a9cb9db1db
commit
0454c89697
@ -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;";
|
||||||
|
Loading…
Reference in New Issue
Block a user