bug 591602
This commit is contained in:
@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
|
|||||||
$Id$
|
$Id$
|
||||||
$Source$
|
$Source$
|
||||||
|
|
||||||
|
2002-08-09 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
|
* user_details.php3: bug 591602, mysql.user lowercase "password"
|
||||||
|
|
||||||
2002-08-09 Robin Johnson <robbat2@users.sourceforge.net>
|
2002-08-09 Robin Johnson <robbat2@users.sourceforge.net>
|
||||||
* Documentation.html:
|
* Documentation.html:
|
||||||
- Updates for SQL Parser
|
- Updates for SQL Parser
|
||||||
|
@@ -993,9 +993,16 @@ if (PMA_mysql_error()) {
|
|||||||
include('./footer.inc.php3');
|
include('./footer.inc.php3');
|
||||||
exit();
|
exit();
|
||||||
}
|
}
|
||||||
$result = @PMA_mysql_query('SELECT COUNT(Password) FROM mysql.user');
|
// The previous logic did not work if the password field is named "password":
|
||||||
$password_field = (($result && PMA_mysql_result($result, 0)) ? 'Password' : 'password');
|
//$result = @PMA_mysql_query('SELECT COUNT(Password) FROM mysql.user');
|
||||||
|
//$password_field = (($result && PMA_mysql_result($result, 0)) ? 'Password' : 'password');
|
||||||
|
|
||||||
|
$result = @PMA_mysql_query('Select * from user limit 1');
|
||||||
|
if ($result) {
|
||||||
|
// assumes that the password is always the third field of mysql.user
|
||||||
|
$field_info = PMA_mysql_fetch_field($result,2);
|
||||||
|
$password_field = $field_info->name;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Autocomplete feature of IE kills the "onchange" event handler and it must be
|
* Autocomplete feature of IE kills the "onchange" event handler and it must be
|
||||||
|
Reference in New Issue
Block a user