Removed $err_url.
This commit is contained in:
@@ -5,6 +5,13 @@ phpMyAdmin - Changelog
|
||||
$Id$
|
||||
$Source$
|
||||
|
||||
2003-03-11 Garvin Hicking <me@supergarv.de>
|
||||
* transformation_wrapper.php3 - Remove $err_url, because if a query
|
||||
fails here, the user won't get to see the error string anyways.
|
||||
Can happen if you want to display a blob without having an index
|
||||
key in your query, because the blob cannot be filtered by a content
|
||||
WHERE-string.
|
||||
|
||||
2003-03-11 Marc Delisle <lem9@users.sourceforge.net>
|
||||
* libraries/sqlparser.data.php3: bug 700082, support of XOR
|
||||
|
||||
|
@@ -33,11 +33,11 @@ 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;
|
||||
$result = PMA_mysql_query($local_query) or PMA_mysqlDie('', $local_query, '', $err_url);
|
||||
$result = PMA_mysql_query($local_query) or PMA_mysqlDie('', $local_query, '', '');
|
||||
$row = PMA_mysql_fetch_array($result);
|
||||
} else {
|
||||
$local_query = 'SELECT * FROM ' . PMA_backquote($table) . ' LIMIT 1';
|
||||
$result = PMA_mysql_query($local_query) or PMA_mysqlDie('', $local_query, '', $err_url);
|
||||
$result = PMA_mysql_query($local_query) or PMA_mysqlDie('', $local_query, '', '');
|
||||
$row = PMA_mysql_fetch_array($result);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user