some mysql call were not modified
This commit is contained in:
@@ -860,7 +860,7 @@ $show_grid = (isset($show_grid) && $show_grid == 'on') ? 1 : 0;
|
||||
$show_color = (isset($show_color) && $show_color == 'on') ? 1 : 0;
|
||||
$show_table_dimension = (isset($show_table_dimension) && $show_table_dimension == 'on') ? 1 : 0;
|
||||
|
||||
mysql_select_db($db);
|
||||
PMA_mysql_select_db($db);
|
||||
|
||||
$rt = new PMA_RT('auto', $pdf_page_number, $show_table_dimension, $show_color, $show_grid);
|
||||
?>
|
||||
|
@@ -70,7 +70,7 @@ if ($goto != 'db_details.php3' && $goto != 'tbl_properties.php3') {
|
||||
/**
|
||||
* Get the list of the fields of the current table
|
||||
*/
|
||||
mysql_select_db($db);
|
||||
PMA_mysql_select_db($db);
|
||||
$table_def = PMA_mysql_query('SHOW FIELDS FROM ' . PMA_backquote($table));
|
||||
if (isset($primary_key)) {
|
||||
$local_query = 'SELECT * FROM ' . PMA_backquote($table) . ' WHERE ' . $primary_key;
|
||||
|
@@ -26,7 +26,7 @@ $err_url = 'tbl_properties.php3'
|
||||
/**
|
||||
* Selects the database to work with
|
||||
*/
|
||||
mysql_select_db($db);
|
||||
PMA_mysql_select_db($db);
|
||||
|
||||
|
||||
/**
|
||||
|
@@ -45,7 +45,7 @@ $err_url = 'tbl_properties.php3'
|
||||
/**
|
||||
* Selects the database to work with
|
||||
*/
|
||||
mysql_select_db($db);
|
||||
PMA_mysql_select_db($db);
|
||||
|
||||
|
||||
/**
|
||||
|
@@ -33,7 +33,7 @@ if (isset($table)) {
|
||||
/**
|
||||
* Selects the database
|
||||
*/
|
||||
mysql_select_db($db);
|
||||
PMA_mysql_select_db($db);
|
||||
|
||||
|
||||
/**
|
||||
|
@@ -242,7 +242,7 @@ else {
|
||||
* Executes the sql query and get the result, then move back to the calling
|
||||
* page
|
||||
*/
|
||||
mysql_select_db($db);
|
||||
PMA_mysql_select_db($db);
|
||||
$sql_query = $query . ';';
|
||||
$result = PMA_mysql_query($query);
|
||||
|
||||
|
Reference in New Issue
Block a user