bug #1648802 different mysql library and server version

This commit is contained in:
Sebastian Mendel
2007-03-15 12:13:04 +00:00
parent d2b12f612c
commit e016d0a5c0
2 changed files with 9 additions and 3 deletions

View File

@@ -13,6 +13,7 @@ $HeadURL$
- bug #1668724 JavaScript focus login Opera
- bug #1667887 HTML maxlength
- bug #1666657 Cookie password delete on timeout / inactivity
- bug #1648802 different mysql library and server version
- [gui] avoid displaying a wide selector in server selection
+ [core] added PMA_fatalError() and made use of it
. [i18n] use generic $strOptions

View File

@@ -354,7 +354,6 @@ if ($server != 0
* Warning for PHP 4.2.3
* modified: 2004-05-05 mkkeck
*/
if (PMA_PHP_INT_VERSION == 40203 && @extension_loaded('mbstring')) {
echo '<div class="warning">' . $strPHP40203 . '</div>' . "\n";
}
@@ -363,7 +362,6 @@ if (PMA_PHP_INT_VERSION == 40203 && @extension_loaded('mbstring')) {
* Nijel: As we try to hadle charsets by ourself, mbstring overloads just
* break it, see bug 1063821.
*/
if (@extension_loaded('mbstring') && @ini_get('mbstring.func_overload') > 1) {
echo '<div class="warning">' . $strMbOverloadWarning . '</div>' . "\n";
}
@@ -380,7 +378,6 @@ if ($GLOBALS['using_mb_charset'] && !@extension_loaded('mbstring')) {
* Warning for old PHP version
* modified: 2004-05-05 mkkeck
*/
if (PMA_PHP_INT_VERSION < 40100) {
echo '<div class="warning">' . sprintf($strUpgrade, 'PHP', '4.1.0') . '</div>' . "\n";
}
@@ -394,6 +391,14 @@ if (defined('PMA_MYSQL_INT_VERSION') && PMA_MYSQL_INT_VERSION < 32332) {
echo '<div class="warning">' . sprintf($strUpgrade, 'MySQL', '3.23.32') . '</div>' . "\n";
}
if ($server > 0 && PMA_MYSQL_CLIENT_API !== PMA_MYSQL_INT_VERSION) {
echo '<div class="warning">'
. PMA_sanitize(sprintf($strMysqlLibDiffersServerVersion,
PMA_DBI_get_client_info(),
substr(PMA_MYSQL_STR_VERSION, 0, strpos(PMA_MYSQL_STR_VERSION . '-', '-'))))
. '</div>' . "\n";
}
if (defined('PMA_WARN_FOR_MCRYPT')) {
echo '<div class="warning">' . PMA_sanitize(sprintf($strCantLoad, 'mcrypt')) . '</div>' . "\n";
}