AW: [Phpmyadmin-devel] [Patch] Allow for "LOAD DATA INFILE" when using the PHP-bundled mysql client

Matthias Pigulla mp at webfactory.de
Tue Sep 21 01:32:07 CEST 2004


No, typo was just _after_ that part of code in:

-    if (empty($client_clags)) {
+    if (empty($client_flags)) {
                      ^^^

Thanks for merging it.

Best regards,
Matthias

> -----Ursprüngliche Nachricht-----
> Von: phpmyadmin-devel-admin at lists.sourceforge.net 
> [mailto:phpmyadmin-devel-admin at lists.sourceforge.net] Im 
> Auftrag von Marc Delisle
> Gesendet: Dienstag, 21. September 2004 03:40
> An: phpmyadmin-devel at lists.sourceforge.net
> Betreff: Re: [Phpmyadmin-devel] [Patch] Allow for "LOAD DATA 
> INFILE" when using the PHP-bundled mysql client
> 
> Matthias,
> 
> I merged this:
> 
> if (PMA_MYSQL_CLIENT_API >= 32349) {
>          $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;
>      }
> 
> IMO there was no typo (COMPRESS was working). "ORing" a new 
> variable with 32 or setting it to 32 makes no difference.





More information about the Developers mailing list