Dynamic loading of MySQL extension always failed.

This commit is contained in:
Alexander M. Turek
2003-07-07 21:42:44 +00:00
parent 11a39a0bb9
commit 8eb6e7456f
2 changed files with 3 additions and 2 deletions

View File

@@ -8,6 +8,7 @@ $Source$
2003-07-07 Alexander M. Turek <rabus@users.sourceforge.net> 2003-07-07 Alexander M. Turek <rabus@users.sourceforge.net>
* libraries/common.lib.php3, libraries/config_import.lib.php3: Backwards * libraries/common.lib.php3, libraries/config_import.lib.php3: Backwards
compatibility. compatibility.
* libraries/common.lib.php3: Dynamic loading of MySQL extension always failed.
2003-07-07 Garvin Hicking <me@supergarv.de> 2003-07-07 Garvin Hicking <me@supergarv.de>
* tbl_change.php3: Fix undefined index for disp_query * tbl_change.php3: Fix undefined index for disp_query

View File

@@ -41,7 +41,7 @@ if (!defined('PMA_COMMON_LIB_INCLUDED')) {
* ... so the required order is: * ... so the required order is:
* *
* - parsing of the configuration file * - parsing of the configuration file
* - first load of the libraries/define.lib.php3 library (won't get the * - first load of the libraries/defines_php.lib.php3 library (won't get the
* MySQL release number) * MySQL release number)
* - load of mysql extension (if necessary) * - load of mysql extension (if necessary)
* - definition of PMA_sqlAddslashes() * - definition of PMA_sqlAddslashes()
@@ -257,7 +257,7 @@ h1 {font-family: sans-serif; font-size: large; font-weight: bold}
} else { } else {
$extension = 'mysql'; $extension = 'mysql';
} }
PMA_dl($extension . $suffix); PMA_dl($extension);
} }
// check whether mysql is available // check whether mysql is available