tell the client library to use CLIENT_LOCAL_FILES
This commit is contained in:
@@ -8,6 +8,8 @@ $Source$
|
|||||||
2004-09-20 Marc Delisle <lem9@users.sourceforge.net>
|
2004-09-20 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
* read_dump.php, libraries/read_dump.lib.php: bug #1030644,
|
* read_dump.php, libraries/read_dump.lib.php: bug #1030644,
|
||||||
error importing when last table exported was empty
|
error importing when last table exported was empty
|
||||||
|
* libraries/dbi/mysql.dbi.lib.php: tell the client library to use
|
||||||
|
CLIENT_LOCAL_FILES (flag 128)
|
||||||
|
|
||||||
2004-09-20 Michal Čihař <michal@cihar.com>
|
2004-09-20 Michal Čihař <michal@cihar.com>
|
||||||
* Documentation.html: Add info about theme generations.
|
* Documentation.html: Add info about theme generations.
|
||||||
|
@@ -49,6 +49,10 @@ function PMA_DBI_connect($user, $password) {
|
|||||||
|
|
||||||
if (PMA_MYSQL_CLIENT_API >= 32349) {
|
if (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
|
||||||
|
// for the case where the client library was not compiled
|
||||||
|
// with --enable-local-infile
|
||||||
|
$client_flags |= 128;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (empty($client_clags)) {
|
if (empty($client_clags)) {
|
||||||
|
Reference in New Issue
Block a user