PMA_DBI_data_seek --> PMA_DBI_dataSeek
This commit is contained in:
parent
a242ed1ae5
commit
d454b41564
@ -4802,7 +4802,7 @@ class PMA_DisplayResults
|
||||
);
|
||||
|
||||
// fetch last row of the result set
|
||||
PMA_DBI_data_seek($dt_result, $this->__get('num_rows') - 1);
|
||||
PMA_DBI_dataSeek($dt_result, $this->__get('num_rows') - 1);
|
||||
$row = PMA_DBI_fetchRow($dt_result);
|
||||
|
||||
// check for non printable sorted row data
|
||||
@ -4826,7 +4826,7 @@ class PMA_DisplayResults
|
||||
);
|
||||
|
||||
// reset to first row for the loop in _getTableBody()
|
||||
PMA_DBI_data_seek($dt_result, 0);
|
||||
PMA_DBI_dataSeek($dt_result, 0);
|
||||
|
||||
// we could also use here $sort_expression_nodirection
|
||||
return ' [' . htmlspecialchars($sort_column)
|
||||
@ -5073,7 +5073,7 @@ class PMA_DisplayResults
|
||||
}
|
||||
|
||||
// fetch last row of the result set
|
||||
PMA_DBI_data_seek($dt_result, $this->__get('num_rows') - 1);
|
||||
PMA_DBI_dataSeek($dt_result, $this->__get('num_rows') - 1);
|
||||
$row = PMA_DBI_fetchRow($dt_result);
|
||||
|
||||
// $clause_is_unique is needed by getTable() to generate the proper param
|
||||
@ -5087,7 +5087,7 @@ class PMA_DisplayResults
|
||||
);
|
||||
|
||||
// reset to first row for the loop in _getTableBody()
|
||||
PMA_DBI_data_seek($dt_result, 0);
|
||||
PMA_DBI_dataSeek($dt_result, 0);
|
||||
|
||||
$links_html .= '<input type="hidden" name="clause_is_unique"'
|
||||
.' value="' . $clause_is_unique . '" />' . "\n";
|
||||
|
||||
@ -239,7 +239,7 @@ function PMA_DBI_fetchRow($result)
|
||||
*
|
||||
* @return boolean true on success, false on failure
|
||||
*/
|
||||
function PMA_DBI_data_seek($result, $offset)
|
||||
function PMA_DBI_dataSeek($result, $offset)
|
||||
{
|
||||
return $result->seek($offset);
|
||||
}
|
||||
|
||||
@ -412,7 +412,7 @@ function PMA_DBI_fetchRow($result)
|
||||
*
|
||||
* @return bool true on success, false on failure
|
||||
*/
|
||||
function PMA_DBI_data_seek($result, $offset)
|
||||
function PMA_DBI_dataSeek($result, $offset)
|
||||
{
|
||||
if ($offset > count($GLOBALS['dummy_queries'][$i]['result'])) {
|
||||
return false;
|
||||
|
||||
@ -264,7 +264,7 @@ function PMA_DBI_fetchRow($result)
|
||||
*
|
||||
* @return bool true on success, false on failure
|
||||
*/
|
||||
function PMA_DBI_data_seek($result, $offset)
|
||||
function PMA_DBI_dataSeek($result, $offset)
|
||||
{
|
||||
return mysql_data_seek($result, $offset);
|
||||
}
|
||||
|
||||
@ -324,7 +324,7 @@ function PMA_DBI_fetchRow($result)
|
||||
*
|
||||
* @return bool true on success, false on failure
|
||||
*/
|
||||
function PMA_DBI_data_seek($result, $offset)
|
||||
function PMA_DBI_dataSeek($result, $offset)
|
||||
{
|
||||
return mysqli_data_seek($result, $offset);
|
||||
}
|
||||
|
||||
@ -771,7 +771,7 @@ if ($last_version > 0) {
|
||||
echo '<tbody>';
|
||||
|
||||
$style = 'odd';
|
||||
PMA_DBI_data_seek($sql_result, 0);
|
||||
PMA_DBI_dataSeek($sql_result, 0);
|
||||
while ($version = PMA_DBI_fetchArray($sql_result)) {
|
||||
if ($version['tracking_active'] == 1) {
|
||||
$version_status = __('active');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user