This commit is contained in:
Alexander M. Turek
2004-09-28 10:41:49 +00:00
parent 526e509e5d
commit 793363e6c0
2 changed files with 5 additions and 1 deletions

View File

@@ -5,6 +5,10 @@ phpMyAdmin - Changelog
$Id$ $Id$
$Source$ $Source$
2004-09-28 Alexander M. Turek <me@derrabus.de>
* libraries/dbi/mysql.dbi.php: Compatibility fix for php < 4.3
(bug #1033360), thanks to Claude Theroux.
2004-09-27 Marc Delisle <lem9@users.sourceforge.net> 2004-09-27 Marc Delisle <lem9@users.sourceforge.net>
### 2.6.0 released ### 2.6.0 released

View File

@@ -47,7 +47,7 @@ function PMA_DBI_connect($user, $password) {
? '' ? ''
: ':' . $cfg['Server']['socket']; : ':' . $cfg['Server']['socket'];
if (PMA_MYSQL_CLIENT_API >= 32349) { if (PMA_PHP_INT_VERSION >= 40300 && PMA_MYSQL_CLIENT_API >= 32349) {
$client_flags = $cfg['Server']['compress'] && defined('MYSQL_CLIENT_COMPRESS') ? MYSQL_CLIENT_COMPRESS : 0; $client_flags = $cfg['Server']['compress'] && defined('MYSQL_CLIENT_COMPRESS') ? MYSQL_CLIENT_COMPRESS : 0;
// always use CLIENT_LOCAL_FILES as defined in mysql_com.h // always use CLIENT_LOCAL_FILES as defined in mysql_com.h
// for the case where the client library was not compiled // for the case where the client library was not compiled