I added some validations

This commit is contained in:
Paula V. Quispe
2015-04-13 17:25:52 -04:00
parent e62beb9c2d
commit aafb4066a8

View File

@@ -634,7 +634,7 @@ class workspaceTools
$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();
$rs_query = $stmt_query->executeQuery( $sql_query, ResultSet::FETCHMODE_ASSOC );