commit
7f8b733a3f
@ -234,7 +234,7 @@ class Node_Database extends Node
|
||||
$query .= "%'";
|
||||
}
|
||||
$query .= "ORDER BY `TABLE_NAME` ASC ";
|
||||
$query .= "LIMIT $pos, $maxItems";
|
||||
$query .= "LIMIT " . intval($pos) . ", $maxItems";
|
||||
$retval = PMA_DBI_fetch_result($query);
|
||||
} else {
|
||||
$query = " SHOW FULL TABLES FROM ";
|
||||
@ -277,7 +277,7 @@ class Node_Database extends Node
|
||||
$query .= "%'";
|
||||
}
|
||||
$query .= "ORDER BY `TABLE_NAME` ASC ";
|
||||
$query .= "LIMIT $pos, $maxItems";
|
||||
$query .= "LIMIT " . intval($pos) . ", $maxItems";
|
||||
$retval = PMA_DBI_fetch_result($query);
|
||||
} else {
|
||||
$query = "SHOW FULL TABLES FROM ";
|
||||
@ -320,7 +320,7 @@ class Node_Database extends Node
|
||||
$query .= "%'";
|
||||
}
|
||||
$query .= "ORDER BY `ROUTINE_NAME` ASC ";
|
||||
$query .= "LIMIT $pos, $maxItems";
|
||||
$query .= "LIMIT " . intval($pos) . ", $maxItems";
|
||||
$retval = PMA_DBI_fetch_result($query);
|
||||
} else {
|
||||
$db = PMA_Util::sqlAddSlashes($db);
|
||||
@ -360,7 +360,7 @@ class Node_Database extends Node
|
||||
$query .= "%'";
|
||||
}
|
||||
$query .= "ORDER BY `ROUTINE_NAME` ASC ";
|
||||
$query .= "LIMIT $pos, $maxItems";
|
||||
$query .= "LIMIT " . intval($pos) . ", $maxItems";
|
||||
$retval = PMA_DBI_fetch_result($query);
|
||||
} else {
|
||||
$db = PMA_Util::sqlAddSlashes($db);
|
||||
@ -399,7 +399,7 @@ class Node_Database extends Node
|
||||
$query .= "%'";
|
||||
}
|
||||
$query .= "ORDER BY `EVENT_NAME` ASC ";
|
||||
$query .= "LIMIT $pos, $maxItems";
|
||||
$query .= "LIMIT " . intval($pos) . ", $maxItems";
|
||||
$retval = PMA_DBI_fetch_result($query);
|
||||
} else {
|
||||
$db = PMA_Util::backquote($db);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user