I added some validations
This commit is contained in:
@@ -634,7 +634,7 @@ class workspaceTools
|
|||||||
$oStatement_sleep->executeQuery();
|
$oStatement_sleep->executeQuery();
|
||||||
}
|
}
|
||||||
|
|
||||||
$sql_query = "SELECT * FROM information_schema.processlist WHERE user = SUBSTRING_INDEX(USER(),'@',1) and db = DATABASE() and time > 200 ORDER BY id;";
|
$sql_query = "SELECT * FROM information_schema.processlist WHERE user = SUBSTRING_INDEX(USER(),'@',1) and db = DATABASE() and time > 0 ORDER BY id;";
|
||||||
$stmt_query = $connection->createStatement();
|
$stmt_query = $connection->createStatement();
|
||||||
$rs_query = $stmt_query->executeQuery( $sql_query, ResultSet::FETCHMODE_ASSOC );
|
$rs_query = $stmt_query->executeQuery( $sql_query, ResultSet::FETCHMODE_ASSOC );
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user